Apache Logging Services

Thursday April 25, 2013

Apache Log4j 2.0-beta5 released

The Apache Log4j 2 team is pleased to announce the Log4j 2.0-beta5 release!

Apache log4j is a well known framework for logging application behavior. Log4j 2 is an upgrade to Log4j that provides significant improvements over its predecessor, Log4j 1.x, and provides many of the improvements available in Logback while fixing some inherent problems in Logback's architecture.

This is the seventh release of Log4j 2 and is being made available to encourage use and feedback from the community.

New features:

  • LOG4J2-207: Add JMX support. Thanks to Remko Popma.
  • LOG4J2-187: Add tag library. Thanks to Nick Williams.
  • LOG4J2-164: Add methods is/setEndOfBatch to LogEvent. Thanks to Remko Popma.
  • LOG4J2-163: Add support for asynchronous loggers. Thanks to Remko Popma.
  • LOG4J2-179: Add Logger interface APIs to log at given levels.
  • Added FlumePersistentManager which writes to BerkeleyDB and then writes to Flume asynchronously.
  • LOG4J2-155: Expose file appender configuration details via an advertisement mechanism.

Fixed Bugs:

  • LOG4J2-205: Fix deadlock in SocketAppender. Added option to not wait for socket reconnect.
  • LOG4J2-211: Removing extra spaces in entry and exit method output. Thanks to Nick Williams.
  • LOG4J2-212: Loggers without a "." had no parent logger.
  • LOG4J2-212: Call LoggerContext.stop when the application is shutdown.
  • LOG4J2-210: MapMessage was not enclosing key value in quotes when generating XML. Thanks to Arkin Yetis.
  • LOG4J2-198: FlumeAvroManager now uses Flume RPCClient.
  • LOG4J2-196: FlumeAvroManager now uses Flume RPCClient.
  • LOG4J2-207: Use the Maven group ID org.apache.logging.log4j for all artifacts.
  • LOG4J2-195: Unit tests now create files in the target directory. Thanks to Remko Popma.
  • LOG4J2-193: RollingFastFileAppender (in log4j-async) did not roll over. Thanks to Remko Popma.
  • LOG4J2-199: Highlight subprojects in sub-navigation. Thanks to Remko Popma.
  • LOG4J2-200: LoggerContext method renamed to removeFilter from removeFiler. Thanks to Remko Popma.
  • LOG4J2-194: ThrowableFormatOptionsTest failed on Windows due to CR/LF issue. Thanks to Remko Popma.
  • LOG4J2-190: BaseConfiguration addLoggerAppender saved appender using the Logger name. Thanks to Werner.
  • LOG4J2-189: The blocking parameter did not work properly on AsynchAppender. Thanks to Werner.
  • LOG4J2-188: appender-refs on AsynchAppender didn't support the level and filter elements. Thanks to Werner.
  • LOG4J2-176: Avoid IllegalArgumentException in AsynchAppender. Thanks to Remko Popma.
  • LOG4J2-181: OutputStreamManager now adds the layout header whenever the OutputStream is set.
  • LOG4J2-177: Fix NullPointerException in DatagramOutputStream when flush is called from multiple threads. Thanks to Remko Popma.
  • LOG4J2-175: Plugin cache should be reset when addPackages is called.
  • LOG4J2-159: Add Fragment-Host to MANIFEST.MF for log4j2-core. Thanks to Jan Winter.
  • LOG4J2-167: Configurator throws a ClassCastException if LogManager returns a SimpleLoggerContext.
  • LOG4J2-169: ConfigurationFactory was adding factories on every call.
  • LOG4J2-161: Modify ClassLoaderContextSelector to use the first ClassLoader in the child parent hierarchy that has a Context with a configuration to allow JSPs to use the WebApp's context and configuration.


  • LOG4J2-214: Async documentation update. Thanks to Remko Popma.
  • LOG4J2-208: Move async subproject into core. Thanks to Remko Popma.
  • LOG4J2-160: Move Throwable pattern converter options processing to ThrowableFormatOptions class. Thanks to Joanne Polsky.
  • LOG4J2-157: Allowed Loggers access to the properties in the LoggerConfig. Thanks to Remko Popma.
  • LOG4J2-153: Added ability to include or exclude location information. Thanks to Remko Popma.
  • LOG4J2-151: Allow Logger and LoggerContext to be subclassed. Thanks to Remko Popma.

Apache Log4j 2.0-beta5 requires a minimum of Java 6 to build and run. Basic compatibility with Log4j 1.x is provided through the log4j-1.2-api component, however it does not implement some of the very implementation specific classes and methods. The package names and Maven groupId have been changed to org.apache.logging.log4j to avoid any conflicts with log4j 1.x.

For complete information on Apache Log4j 2, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Apache Log4j 2 website:



pls, one of my software dat came with my phone(notifications) is now corrupt, pls, what can I do to it. thanks

Posted by akinbuk on April 30, 2013 at 09:13 PM UTC #

Thanks for this post,it is a rain drop post…i like it.

Posted by dubai vacation on September 01, 2013 at 08:34 AM UTC #

i have file that has been corrupted please what can i do

Posted by Naijafutures on December 28, 2018 at 03:35 AM UTC #

Hi team, I am trying to compile log4j dependency in android studio compiling success but while running application i am getting below error in console please kindly review this issue it could help us to improve things much better. Error: Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - log4j-core-2.11.1.jar (log4j-core-2.11.1.jar) - log4j-core-2.11.1.jar (org.apache.logging.log4j:log4j-core:2.11.1) Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future. See https://developer.android.com/r/tools/annotation-processor-error-message.html for more details.

Posted by hemanth on February 20, 2019 at 01:43 PM UTC #

This write up is good, i love it

Posted by Babatunde Bamidele on July 01, 2019 at 11:57 PM UTC #

<a href="https://omoesa.com/">I love this article, please keep it up</a>

Posted by Tunde001 on July 01, 2019 at 11:59 PM UTC #

Love them all!!! Really Good!

Posted by comparison on July 19, 2019 at 10:50 PM UTC #

Nice work!! beautiful !! Wonderful type-work! Congrats :)

Posted by shop on July 19, 2019 at 11:13 PM UTC #

Marta, amazing work!! In line with Dutch design tradition!!! @Tiago Antonio Antonio Thank you very much

Posted by on July 20, 2019 at 08:41 AM UTC #

Wow! Nice!!!! So cool! I'd love to see more yokai or japanese mythology characters in your style. They'd look awesome!

Posted by tebacbywa1977 on July 20, 2019 at 03:45 PM UTC #

— Отлично! ¡Genial!

Posted by premulflathealth1989 on July 20, 2019 at 04:04 PM UTC #

Nice project ! thanks for sharing ! Great work!

Posted by terbenovi1972 on July 20, 2019 at 05:44 PM UTC #

Gods work Dear Charis, great work as always!

Posted by checkcapimel1979 on July 20, 2019 at 06:08 PM UTC #

increíble job !! It is fantastic!

Posted by tragdephokiss1989 on July 20, 2019 at 06:34 PM UTC #

Thank you everyone for the support! Excelente..!

Posted by tiupresadva1972 on July 20, 2019 at 11:03 PM UTC #

nice jop Hermoso trabajo!

Posted by metpuncrafi1982 on July 21, 2019 at 12:01 AM UTC #

Love the illustrations! great work. impressive!

Posted by ssancountare1986 on July 21, 2019 at 12:50 AM UTC #

Great use of the 'heart' - love the beautiful, classic serif as well! Probably you should teach others motion graphics.

Posted by enwebnemy1983 on July 21, 2019 at 03:59 AM UTC #

Amazing work, love it! very Nice

Posted by sentacombe1987 on July 21, 2019 at 05:09 AM UTC #

Thanks for the fixed bugs! Trust you it's awesome!!!

Posted by Vadoh on July 21, 2019 at 05:09 AM UTC #

Absolutely interesting concept A pleasure for the eye to watch.

Posted by angumorrse1973 on July 21, 2019 at 05:47 AM UTC #

The colours, the makeup... just wonderful✨✨✨ I love this! I love your style!

Posted by oncrocditem1973 on July 21, 2019 at 06:22 AM UTC #

Really clever idea+ OMG so perfect, great work guys.

Posted by mibatapfi1988 on July 21, 2019 at 06:56 AM UTC #

快看,有只猪!创意真好! Lil Nas yeah!

Posted by tiapreturin1980 on July 21, 2019 at 07:28 AM UTC #

Buen trabajo. Enhorabuena! Like your style)

Posted by seavehardge1971 on July 21, 2019 at 07:59 AM UTC #

woah this is amazing, how is this even made? Really consistent and well-thought project, I really like it. Hope you give me feedback too :)

Posted by esosemchil1984 on July 21, 2019 at 08:32 AM UTC #

Really really cool! Stunning! *****

Posted by ensilabers1987 on July 21, 2019 at 09:04 AM UTC #

wonder how much this costs... yes, now cacao looks like the next big thing ! great job :)

Posted by quitomheda1973 on July 21, 2019 at 09:37 AM UTC #

GOOD JOB. That's hot!

Posted by saragoca1978 on July 21, 2019 at 10:43 AM UTC #

艺术 @Zuco • @Pepper Studio

Posted by lozlindmarty1983 on July 21, 2019 at 11:16 AM UTC #

Post a Comment:
Comments are closed for this entry.



Hot Blogs (today's hits)

Tag Cloud