Apache Logging Services

Sunday August 05, 2012

Apache Logging log4j 2.0-alpha1 released

The Apache Logging team is pleased to announce the Apache log4j 2.0-alpha1 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 first release of Log4j 2 and is being made available to get feedback from the community.

Some of the features and improvements in Log4j 2 are:


  • API Separation - The API for Log4j is separate from the implementation. It is now clear to application developers what classes and methods they can use with compatibility being assured, while also allowing improvements to be made to the implementation.

  • Designed for Audit Logging - Unlike Log4j 1.x and Logback, Log4j 2 will not lose events during reconfiguration. Log4j 2 also supports Messages, which easily allow audit events to be flow through the framework.

  • Improved Performance - Faster performance than Log4j 1.x in critical areas and similar performance to Logback in most circumstances.

  • Support for multiple APIs - While the Log4j 2 API will provide the best performance, support for SLF4J and Commons Logging APIs are provided.

  • Automatic Reloading of Configurations - Like Logback, Log4j 2 supports filtering based on context data, markers, regular expressions and other components in the Log event and can be specified to apply to all events before being passed to Loggers or as they pass through Appenders. In addition, filters can also be associated with Loggers, Unlike Logback, a common Filter class can be used in any of these circumstances. Log4j 2 currently supports configuration via XML or JSON.

  • Plugin Architecture - All configurable components are defined as Log4j plugins. As such, no Log4j code must be changed to create a new Appender, Layout, Pattern Converter, etc. Log4j will automatically recognize properly defined plugins and use them when they are referenced in the configuration.

  • Property Support - Properties can be referenced in the configuration and either be directly replace or passed to the underlying component where they can be dynamically resolved. Properties can come from values defined in the configuration file, system properties, environment variables, the ThreadContext Map, and data present in the event. Users can further customize the property providers by adding their own Lookup Plugin

For more information see the Log4j 2 web site

Apache log4j 2.0 requires JDK 5 or later.

Comments:

So did anyone already try this new alpha release? Any issues so far or everything is smooth?

Posted by Kirs on August 14, 2012 at 01:11 PM UTC #

Kirs, we test it in our workshop and it works fine and much faster then older releases. And it's readlly nice that they resolve issue with supporting XML & JSON.

Posted by Alex on August 14, 2012 at 05:37 PM UTC #

Alex, have you created any custom Appender plugins? When I enable verbose output and status logging in my configuration, I see a CLASS_NOT_FOUND error for the appenders I created. I have specified their package in the "packages" attribute of the configuration, and have tried manually adding it using PluginsManager at runtime, but I keep getting the error. Unfortunately, the documentation on extending log4j2 doesn't seem to be completed yet so I do not know if I am doing something wrong or if there is a bug. Any tips?

Posted by Aaron on August 29, 2012 at 01:34 PM UTC #

This is a really great update as these improvements are pretty big ones! One of my favorite updates in the improved performance Log4j 1.x, this is something that will be very useful to me. I also really like the plug in update.

Posted by Bonnie on September 10, 2012 at 06:08 AM UTC #

Thanks for updating. I was waiting for this. I just revert to logback but getting some issues. Now, I can easily get back to it.

Posted by Amin on September 22, 2012 at 05:28 PM UTC #

The stable release seems to be coming near :-)

Posted by soundcloud converter on April 26, 2018 at 07:14 AM UTC #

https://bit.ly/2CQaBbp

Posted by Jon on January 04, 2019 at 08:15 PM UTC #

Its a tough part of the mahajong game but if you will http://fireboywatergirl.me play by the help of this game site then you can make it easy.

Posted by vedant on May 14, 2019 at 06:55 AM UTC #

The stable release seems to be coming near :-) http://success-a.blogspot.com/2013/08/al3abcrash.html

Posted by zain on June 05, 2019 at 04:08 AM UTC #

wow♥ Beautifull..

Posted by prescription on July 19, 2019 at 10:16 PM UTC #

哈哈哈,好得意,nice @Julia Liudvinovskaya Thanks for your comment! :)

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

Дизайн отличный но, на мой взгляд, такая выразительность и такая стилистика материалов не соответствует тому самоощущению, доверию и беспечности, которые должна вызывать медицина. Я вижу здесь слишком броские и яркие цвета. Это похоже на дизайн аксессуаров для модного магазина, но врядли это связано с фармакологией, с лечением людей. Я думаю, что в этом проекте ошибку допустил не дизайнер, а арт-директор. The light is amazing

Posted by storuthabal1980 on July 20, 2019 at 03:43 PM UTC #

Very nice work, and amazing render quality! Great work! Super consistent! Congrats

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

Thak you so much @Sergei 4 Love the buttons image. Feels very curated.

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

Coool!! Magnífico. Vuela!!

Posted by reisponcounlo1982 on July 20, 2019 at 05:41 PM UTC #

Wow! Cool job! fantástico

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

Love those animations! I love how it makes me feel so curious!

Posted by sforogarrev1977 on July 20, 2019 at 10:55 PM UTC #

GREAT PORTRAITS!!! Excellent Design

Posted by jiusenafound1977 on July 20, 2019 at 11:57 PM UTC #

i like the one in the yellow jacket nicde

Posted by rabguivepub1970 on July 21, 2019 at 12:46 AM UTC #

Beautiful project. Wow, these pics are amazing!

Posted by sucilnamas1979 on July 21, 2019 at 02:13 AM UTC #

Super travail, bravo. J'aime beaucoup l'association des couleurs. Nice branding, congrats!

Posted by dlinemadap1989 on July 21, 2019 at 03:51 AM UTC #

they are awesome! i love so much your style So very beautiful, and extremely creative!

Posted by niasupprougutt1986 on July 21, 2019 at 05:07 AM UTC #

This is pretty impressive, well done!

Posted by miberriko1982 on July 21, 2019 at 05:42 AM UTC #

Completely in love with the texture and aesthetic! absolutely beautiful!!!

Posted by quivereres1984 on July 21, 2019 at 06:53 AM UTC #

I am amazed! Very stylish! I love your manner of presentation!! Like

Posted by natertiodriv1974 on July 21, 2019 at 07:26 AM UTC #

great!!! Truly compelling design.

Posted by waipaphute1975 on July 21, 2019 at 07:57 AM UTC #

i like it once more, real cool

Posted by rochingconsubs1980 on July 21, 2019 at 08:30 AM UTC #

Dear Charis, great work as always! I Hope people focus more on our planet issues.

Posted by pecvivesa1975 on July 21, 2019 at 09:35 AM UTC #

Thank you Areesha.@Areesha Ahmad So glad we were able to make this amazing brand together! Your illustrations and creativity really brought it to life!

Posted by kronanbamo1982 on July 21, 2019 at 10:08 AM UTC #

Amazing, love it sustainable!

Posted by donsberhandta1979 on July 21, 2019 at 10:41 AM UTC #

Excellent job! Love the animations

Posted by waimallagen1988 on July 21, 2019 at 11:14 AM UTC #

Awesome keep it up

Posted by AskTechMan on January 04, 2020 at 11:06 AM UTC #

Appreciated.

Posted by birthday sister on January 18, 2020 at 06:32 PM UTC #

Post a Comment:
Comments are closed for this entry.

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation