Apache Logging Services

Saturday April 08, 2017

Log4j 2.8.2 released

The Apache Log4j 2 team is pleased to announce the Log4j 2.8.2 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);

or

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

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

GA Release 2.8.2

Changes in this version include:

New Features

  • LOG4J2-1863: Add support for filtering input in TcpSocketServer and UdpSocketServer.
  • LOG4J2-1848: Add JSON encoding support to EncodingPatternConverter %encode{}.
  • LOG4J2-1843: Add support for appending common suffix to each line of throwable stack trace. Thanks to Zilong Song.
  • LOG4J2-1838: Add support for appending common suffix to each line of extended and root throwable stack trace. Thanks to Zilong Song.

Fixed Bugs

  • LOG4J2-1861: Fix JavaDoc on org.apache.logging.log4j.ThreadContext about inheritance.
  • LOG4J2-1862: Fix JavaDoc about @Order and OrderComparator ordering. Thanks to wangyuntao.
  • LOG4J2-1849: Fixed daylight savings time issue with FixedDateFormat.
  • LOG4J2-1850: Fix CassandraRule and unit tests on Windows. Thanks to Ludovic Hochet.
  • LOG4J2-1840: Fix typo in %replace converter documentation. Thanks to Pradeep Balasundaram.
  • LOG4J2-1846: Handle when LogEvent.getLoggerName() returns null in LoggerNameLevelRewritePolicy.
  • LOG4J2-1845: Handle when LogEvent.getLoggerName() returns null in KafkaAppender.
  • LOG4J2-1853: The default value of RandomAccessFileAppender.Builder append field is wrong. Thanks to wangyuntao.
  • LOG4J2-1835: Fix documentation about the licensing for JeroMQ.
  • LOG4J2-1836: Update the API version to 2.6.0.
  • LOG4J2-1831: NullPointerException in HtmlLayout. Thanks to Edward Serebrinskiy.
  • LOG4J2-1820: Log4j 2.8 can lose exceptions when a security manager is present. Thanks to Jason Tedor.

Changes

  • LOG4J2-1827: Move integration tests to their own module to speed up build.
  • LOG4J2-1856: Update Jackson from 2.8.6 to 2.8.7.

Apache Log4j 2.8.2 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:

http://logging.apache.org/log4j/2.x/

Comments:

It has been the targeted segment of the valuable information http://printcalendartemplates.com/may-2018-printable-calendar/

Posted by jilan ali on April 19, 2018 at 08:23 PM UTC #

nice and i lvoed this website. FOr calendar printable and wallpaper please visit our website

Posted by calendar2018print on May 14, 2018 at 04:53 AM UTC #

I'm using <log4j.version>2.8.2</log4j.version> and i have bad thing in my logs like ^@ endlees line. Do anybody got it yet ?

Posted by thill on July 10, 2018 at 02:00 PM UTC #

Great information, First of all many thanks to the author who wrote this article. It is incomprehensible to me now, but in general, the usefulness and significance is overwhelming. Thanks again and good luck https://urbanclap.ae/laptop-repair-services/

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

nice and i lvoed this website. FOr calendar printable and wallpaper please visit our website

Posted by epson error code 0X9e on January 10, 2019 at 11:10 AM UTC #

The following delivers a likely solution. It is perhaps not ideal but rendering to the marionette certification only the following provider’s support install options rpm, windows, and zypper. In which case the response file limit should be used to stipulate the wanted answers used during the set connection.

Posted by all top sites on January 23, 2019 at 11:38 AM UTC #

ssl is a tool developed by ssl certificate that allows you to share or download torrent files. A torrent file is nothing but a file that preserves metadata to facilitate peer-to-peer file sharing protocol.

Posted by SSL Certificate on January 23, 2019 at 11:40 AM UTC #

Discover how to make your own online coupon business in a profitable niche market with some real life successful examples you can copy

Posted by coupon mall on March 26, 2019 at 05:46 AM UTC #

It is perhaps not ideal but rendering to the marionette certification only the following provider’s support install options rpm, windows, and zypper. In which case the response file limit should be used to stipulate the wanted answers used during the set connection.

Posted by moon on May 01, 2019 at 09:40 AM UTC #

It is perhaps not ideal but rendering to the marionette certification only the following provider’s support install options rpm, windows, and zypper. In which case the response file limit should be used to stipulate the wanted answers used during the set connection.

Posted by travel blog on May 09, 2019 at 06:16 PM UTC #

nutonen https://discountra.com/nutonen/

Posted by robert on July 18, 2019 at 07:15 AM UTC #

thank you @Astro Circo @Sergey Stepanov @Kobra Sweden @Cihan Celik Artworks @james wang cool project!!

Posted by canadian on July 19, 2019 at 10:02 PM UTC #

WOW! Amazing! Chicos, está increíble el trabajo, buen proceso.

Posted by discount on July 19, 2019 at 11:23 PM UTC #

Τελειο τελειο τελειο! Μπράβο δάσκαλε υπέροχη δουλειά LETS GO RAPTORS! six six six!!!

Posted by tribvergylib1984 on July 20, 2019 at 07:45 AM UTC #

Great work! I love the art style for this project Nice! I like it :)

Posted by zahtiposkewl1985 on July 20, 2019 at 03:34 PM UTC #

stylish and bright! I am delighted) Vaovv. Magnificent presentation.

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

Güzel çalışma. Beautifulq

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

Very nice and colorful epic!

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

Nice!!! job I loveeeeeeee it, great work!!!

Posted by solchainire1980 on July 20, 2019 at 11:50 PM UTC #

modern, light and caring - perfect brand voice! buenísimo

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

Superb work!!! ㅜㅜㅜ헐 멋져요ㅜㅜㅜ존경...

Posted by elanovpsych1972 on July 21, 2019 at 03:38 AM UTC #

What a talented group of illustrators you are. Amazing work! I loved the packaging.

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

Amazing !wonderful!!! *sound of my mind that blow up. Aha! Tons of style here @Meme . and a huge inspiration for my art! BIG!

Posted by grupafvetor1988 on July 21, 2019 at 05:36 AM UTC #

Great Work ! woow.

Posted by lowtnectiocret1983 on July 21, 2019 at 06:48 AM UTC #

I am speechless, This is so amazing. I love the video, feels like each elements in it has a life. Nice :) Keep it up!

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

The small panda looks really cute! Loved this :) beautiful works)

Posted by perbichapvans1982 on July 21, 2019 at 07:53 AM UTC #

that type tho I have to say simplicity is powerful. Thanks for uploading.

Posted by kauwapinfa1974 on July 21, 2019 at 08:25 AM UTC #

Ace! I really like it Grat work

Posted by imacallay1985 on July 21, 2019 at 09:30 AM UTC #

Super Nice work Wow nice

Posted by riolaycorra1982 on July 21, 2019 at 10:03 AM UTC #

@Svetlana Gubanoff Thank you so much! As I wished they would come across. Great to hear! 厉害厉害~

Posted by tictherxpina1980 on July 21, 2019 at 10:36 AM UTC #

wow, really nice project !! Great Style!!!

Posted by liathrivunti1981 on July 21, 2019 at 11:09 AM UTC #

Post a Comment:
  • HTML Syntax: NOT allowed

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation