Apache Logging Services

Friday March 03, 2017

Log4j 2.8.1 released

The Apache Log4j 2 team is pleased to announce the Log4j 2.8.1 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 other modern features such as support for Markers, lambda expressions for lazy logging, property substitution using Lookups, multiple patterns on a PatternLayout and asynchronous Loggers. Another notable Log4j 2 feature is the ability to be "garbage-free" (avoid allocating temporary objects) while logging. In addition, Log4j 2 will not lose events while reconfiguring.

This release primarily contains bugfixes and minor enhancements. More details on the new features and fixes are itemized below.

Note that subsequent to the 2.6 release a minor source incompatibility was found due to the addition of new methods to the Logger interface. If you have code that does:

logger.error(null, “This is the log message”, throwable);

or similar with any log level you will get a compiler error saying the reference is ambiguous. To correct this either do:

logger.error(“This is the log message”, throwable);


logger.error((Marker) null, “This is the log message”, throwable);

The Log4j 2.8.1 API, as well as many core components, maintains binary compatibility with previous releases.

GA Release 2.8.1

Changes in this version include:

New Features

  • LOG4J2-1823: Remove deprecation on MessageSupplier lambda functions in Logger API.
  • LOG4J2-1807: [core] Add and implement LogEvent.toImmutable().

Fixed Bugs

  • LOG4J2-1804: Allow %i in file pattern to be preceded with characters other than just '-'. Thanks to Pierrick Hymbert.
  • LOG4J2-1816: Change minOccur to minOccurs in Log4j-config.xsd. Thanks to shubhankar1100.
  • LOG4J2-1803: Fix Maven POM to ensure JMH generated classes in log4j-perf are included in benchmarks jar.
  • LOG4J2-1800: Report errors when sending to Kafka when using syncSend=false. Thanks to Vincent Tieleman.
  • LOG4J2-1805: Fixed rare race condition in FixedDateFormat, made FixedDateFormat::millisSinceMidnight method public.
  • LOG4J2-1799: Fixed bug in PropertiesUtil::getCharsetProperty that caused UnsupportedCharsetException for ConsoleAppender. Thanks to Eduard Gizatullin.
  • LOG4J2-1806: Fix Javadoc for DefaultRolloverStrategy::purgeAscending Thanks to challarao.
  • LOG4J2-1818: Fix rollover to work when filePattern contains no directory components. Thanks to xkr47.


  • LOG4J2-1822: Update SLF4J to 1.7.24.
  • LOG4J2-1812: Improved error message when log4j 2 configuration file not found.
  • LOG4J2-1810: Update to use Logback 1.1.10 and then Logback 1.2 for tests.
  • LOG4J2-1819: Update Jackson from 2.8.5 to 2.8.6.

Apache Log4j 2.8.1 requires a minimum of Java 7 to build and run. Log4j 2.3 was the last release that supported Java 6.

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:



It has been the targeted segment of the valuable information https://globalcool.org/website-is-unavailable-issues/

Posted by cemllyrios on January 07, 2019 at 09:30 AM UTC #

Hello everyone if you are like the online games then the games are full of the joy this is the best movement of our life and you will play the more games on this fabulous website https://heartsgameonline.net this is the one more option then you are fill the refresh and the movement are you are not forget.

Posted by Akki12 on February 02, 2019 at 05:18 AM UTC #

The famous and influential log4j library, utilized extensively throughout the Java ecosystem so many years. Version 2.x keeps all the logging highlights of its forerunner and expands on that establishment with some significant improvements, especially in the area of performance.

Posted by Where can I find a writer to write my assignment? on May 27, 2019 at 07:40 AM UTC #

Thats a great announcement, I am looking forward to reading more about it. Keep updating.

Posted by tanya1jain2 on May 29, 2019 at 11:58 AM UTC #

Nice Post, if you want to read theatre blogs, click on my profile.

Posted by jiyasharma on May 29, 2019 at 12:04 PM UTC #

If you are looking for online marketing services at an affordable rate visit my website through my profile.

Posted by marketmeonline on May 29, 2019 at 12:07 PM UTC #

Thanks for this information, I would love to read more about it in future. Keep posting.

Posted by webdevelopmentaustralia` on May 30, 2019 at 12:13 PM UTC #

wow, this makes me wanna be the best!! I admire you and your fabulous art!!!!! Oh boy! You’re so talented!!

Posted by store on July 19, 2019 at 10:31 PM UTC #

把爷逗乐乐 Amazing shots!

Posted by diamacoundy1981 on July 20, 2019 at 09:15 AM UTC #

So great, just love it!! This is unbelievable

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

Made of plasticine. Really bold, simple and memorable. Great work!

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

wow, this makes me wanna be the best!! I admire you and your fabulous art!!!!!

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

What an amazing project! So much love in every illustration. 有趣的灵魂!!!

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

i remember i had a similar photoshoot in Malta back in 2014 or so. it was very interesting just to sit on a bench in the middle of the night with a camera put on the rock right next to it waiting 30 seconds for the shutter to close as the passers by were looking at me very strangely. unfortunately, back then I was still a beginner so the majority of the images didn't turn out to be good, but this project reminded me of that fun photoshoot i had just for the sake of art. thank you. loved the car lights captured with long exposure the most. it really looks awesome! Awesome! Does the seat float also?

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

Amazaing work, congratz Superb covers!

Posted by nanolica1979 on July 21, 2019 at 12:02 AM UTC #

有气质! Incredibly beautiful! Namibia is a special place

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

You creative sense is amazing Future is here, nice and clean

Posted by ppancusimi1982 on July 21, 2019 at 04:00 AM UTC #

Awesome well presented:) Another great work, im impressed!

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

top Thank you Oskar.@Oskar Jan

Posted by riababarni1975 on July 21, 2019 at 06:23 AM UTC #

This is stunning! Love it!!

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

Very good! ❤️ You have a very creative portfolio. I would be grateful if you look at my examples of projects

Posted by corntramterni1980 on July 21, 2019 at 08:00 AM UTC #

Great incorporation of the ace of spades! very good work

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

Fantabulous. Are these actual toys or?

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

great work... a good combination Lindo projeto!

Posted by ranlolisreei1987 on July 21, 2019 at 09:38 AM UTC #

Greatest job I've ever seen ahh....barcelona

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

very nice, great idea As always, great

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

https://www.crownsterling.io/ has considered this one great idea.

Posted by Horea Kaii on August 14, 2019 at 03:52 PM UTC #

This is really a great piece of data that Log4j 2.8.1 is released https://www.sprwmn.com . The Apache Logging Services Project builds and manages open-source software related to the logging of application performance and delivered at no assessment to the populace.

Posted by swayer on August 28, 2019 at 05:49 AM UTC #

Is there any way that I could have a digital copy of the manual for this? https://nextride.com/

Posted by Brielle Luna on August 28, 2019 at 12:18 PM UTC #

This upgrade provides many of the improvements available in Logback while fixing some inherent problems in Logback’s architecture. https://www.watersoftenergurus.com/fleck-water-softener/

Posted by Logan Cooper on September 04, 2019 at 06:32 AM UTC #

Thanks for sharing. very nice, great idea As always, great http://godinh.com/ http://nhadinh.com

Posted by Gỗ Đỉnh on September 10, 2019 at 12:50 PM UTC #

TechFix is a dedicated team of professional IT engineers offering IT consultancy services, CCTV support, installation and IP telephone system in Dubai. Visit our website today for more information.

Posted by CCTV Cameras on October 12, 2019 at 08:34 AM UTC #

Recommended for productions, best way for logging.

Posted by google photos login on October 13, 2019 at 05:26 PM UTC #

E-cigarettes are battery-powered smoking devices guitar at the lowest price guaranteed https://cool-vape-blog.tumblr.com/post/188191481194/best-vape-starter-kits

Posted by Smith23 on October 15, 2019 at 11:12 AM UTC #

Post a Comment:
  • HTML Syntax: NOT allowed



Hot Blogs (today's hits)

Tag Cloud