Apache Logging Services

Friday September 22, 2017

Log4j 2.9.1 released

The Apache Log4j 2 team is pleased to announce the Log4j 2.9.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 contains bugfixes and minor enhancements.

As of Log4j 2.9.0, the Log4j API was modified to use java.util.ServiceLoader to locate Log4j implementations, although the former binding mechanism is still supported. The Log4j jar is now a multi-release jar to provide implementations of the Java 9 specific classes. Multi-release jars are not supported by the OSGi specification so OSGi modules will not be able to take advantage of these implementations but will not lose functionality as they will fall back to the implementations used in Java 7 and 8. More details on the new features and fixes are itemized below.

Note that subsequent to the 2.9 release, for security reasons, SerializedLayout is deprecated and no longer used as default in the Socket and JMS appenders. SerializedLayout can still be used as before, but has to be specified explicitly. To retain old behaviour, you have to change configuration like:

  <Socket name="socket" host="localhost" port="9500"/>


  <Socket name="socket" host="localhost" port="9500">

We do, however, discourage the use of SerializedLayout and recommend JsonLayout as a replacement:

  <Socket name="socket" host="localhost" port="9500">
    <JsonLayout properties="true"/>

Note that subsequent to the 2.9 release, for security reasons, Log4j does not process DTD in XML files. If you used DTD for including snippets, you have to use XInclude or Composite Configuration instead.

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

GA Release 2.9.1

Changes in this version include:

Fixed Bugs

  • LOG4J2-1988: Prevent ConcurrentModificationException with AsyncLoggerConfig.
  • LOG4J2-1914: Prevent ConcurrentModificationException with AsyncLoggerConfig.
  • LOG4J2-2048: Increase default queue size for AsyncAppender from 128 to 1024.
  • LOG4J2-2035: Fix documentation to clarify disruptor-3.3.4 is now required for async loggers (previously the docs referred to disruptor-3.3.3 which was never released).
  • LOG4J2-2030: Inspect all known ClassLoaders to locate the service provider.
  • LOG4J2-2028: Java 9 StackLocator was not properly skipping the initial stack frames. Thanks to Jason Tedor.
  • LOG4J2-2026: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(). Thanks to Leon Finker.
  • LOG4J2-2029: Marker examples should not use deprecated flow APIs. Thanks to Fabrizio Cucci.
  • LOG4J2-1936: ClassNotFoundException when making all loggers asynchronous under OSGi environment. Thanks to Helber Belmiro.


  • LOG4J2-2023: Use a class' canonical name instead of name to create its logger name.
  • LOG4J2-2043: Update Jackson from 2.9.0 to 2.9.1 (fix for Java 9.)
  • LOG4J2-2044: Update Apache Commons CSV from 1.4 to 1.5.
  • LOG4J2-2045: Update javax.mail from 1.5.6 to 1.6.0.
  • LOG4J2-2046: Update Apache Commons Compress from 1.13 to 1.14.
  • LOG4J2-2047: Update Cassandra driver from 3.1.0 to 3.1.4.
  • LOG4J2-2049: Update Apache Kafka Client from to

Apache Log4j 2.9.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:



Love this update :).

Posted by Tutuapp on September 26, 2017 at 05:04 AM UTC #

i am using this version. https://19216811.network/

Posted by Hüsamettin on October 19, 2017 at 06:59 PM UTC #

I just want to say thanks to the one who recommended the website; it’s been very helpful to me. And now and I’m happy.

Posted by cinemaboxHDapp on October 26, 2017 at 12:41 AM UTC #

This is the most useful post for those who are looking to play online Hearts card game.This is the most popular https://heartsgameonline.net platform to play and share this with the others. Thank you so much to this latest version.

Posted by R_ashwin on December 14, 2017 at 06:12 AM UTC #

Hey admin your sharing way is unique. This is fantastic site.I enjoyed reading your articles. This is truly a great read for me. https://www.dumpsexpert.com/1z0-970-Exam-Dumps.html

Posted by sharonfrankklin on December 15, 2017 at 06:28 AM UTC #

what a information thanks that's great

Posted by rajesh on February 17, 2018 at 06:30 AM UTC #

what a information thanks that's great

Posted by Hotmail oturum aç on February 22, 2018 at 01:56 PM UTC #

Thanks for this awesome info... Watch FIFA Live https://www.fifa2018updates.live/

Posted by Samir on April 26, 2018 at 07:03 AM UTC #

IPL CHull Stream https://iplchullstream.com/hot-star-ipl-live-streaming-2018/

Posted by IPL on May 05, 2018 at 12:54 PM UTC #

I am also searching this content on internet and found you share the best one. Thanks for sharing it here. https://certificationssoul.tumblr.com/post/174110615054/microsoft-mb6-896-exam-for-distribution-and-trade

Posted by john smith on May 21, 2018 at 11:30 AM UTC #

The ASF was formerly referred to as the Apache Group. Likewise the ASF isn't the only organisations that survives through open improvement. The ASF is still fighting to recover from a significant network and email outage this calendar year, which Nalley said would still take months to totally rectify through the usage of a contractor. https://guide24x7.com/anker-wireless-charging-pad/

Posted by kristy on May 25, 2018 at 07:45 AM UTC #

Great information thanks for sharing it.

Posted by comcast email login on May 26, 2018 at 08:26 AM 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://www.fifaworldcup2018livescores.com/

Posted by Real james on May 26, 2018 at 12:47 PM UTC #

great post!! Thank you very much for sharing.

Posted by videmateapp on May 31, 2018 at 06:35 AM UTC #

We are providing to Best technical support team provide to all technical support for Mcafee Product. If you have any technical issue related to Mcafee Product account then you can get technical support from our technical expert’s easily. Dial Mcafee Product Phone 18445509444 Number to get instant solution and dial 18445509444 contact number for reliable solution.  Read More: https://mcafee.antivirus-setup.com/

Posted by mikedev on September 18, 2018 at 05:12 AM UTC #

Just let me know how we can accomplish this task. Let me go find hope for this life: http://basketballgames.io basketball games

Posted by famitofu on November 21, 2018 at 07:23 AM UTC #

Thanks a lot for publishing this information. Really a nice post is sharing. We provide Hotmail customer service for user help. If you need any support then you can visit us.

Posted by Hotmail customer service on December 01, 2018 at 09:01 AM UTC #

Geek Squad Tech Support is an efficient and instant repair service providing team accessible from across the globe. These experts can be relied upon to avail the best of repair services, call them at Geek Squad Phone Number.

Posted by Geek Squad Protection on December 14, 2018 at 08:40 AM UTC #

Geek Squad Tech Support is an efficient and instant repair service providing team accessible from across the globe. These experts can be relied upon to avail the best of repair services, call them at Geek Squad Phone Number.

Posted by Geek Squad Tech Support on December 14, 2018 at 08:41 AM UTC #

http://www.latestgadget.co/ HI. I write about latest Gadgets and Technology. For read my Articles visit my site: <a href="http://www.latestgadget.co/">Latest Gadgets</a>

Posted by latestgadget on December 15, 2018 at 03:28 PM UTC #

Thanks for sharing this relevant information.

Posted by Benjamin Robert on December 18, 2018 at 04:50 AM UTC #

Sports heads soccer unblocked games from https://soccerheadsunblockedd.net . Football Legends 2016 latest version, Football Legends 2016 is a game of football or the world.

Posted by Soccer Heads Unblocked on December 18, 2018 at 05:57 AM UTC #

Thanks for sharing this relevant information. Visit us for customer support https://quickbooks-tollfree-number.com/ - QuickBooks Support https://printer-customer-support.com/lexmark/ - lexmark Printer Support https://printer-customer-support.com/brother/ - Brother Printer Support https://printer-customer-support.com/Canon/ -Canon Printer Support https://printer-customer-support.com/epson/ - epson Printer Support

Posted by ARON SMITH on January 14, 2019 at 12:27 PM UTC #

HP printer Support shall be able to assist you with an array of problems whether they are concerning drivers, troubleshooting, software and driver installs, etc. The skilful and expert technicians are available round the clock at the HP printer toll-free number for resolving all the problems encountered by users.

Posted by HP Printer Support on January 17, 2019 at 02:42 PM UTC #

Geek Squad Tech Support is an efficient and instant repair service providing team accessible from across the globe. Thanks for sharing

Posted by techmaya on January 22, 2019 at 01:24 PM UTC #

It's an update I was looking forward to. We really feel the reduction of latency thanks to multi-threading. My site that uses a program related to log4j (https://www.p3x.fr) behaves much better now and I can log all without any problem.

Posted by p3x on January 26, 2019 at 02:30 AM UTC #

It's an update I was looking forward to. We really feel the reduction of latency thanks to multi-threading. My site that uses a program related to log4j https://www.p3x.fr agence web behaves much better now and I can log all without any problem.

Posted by p3x on January 26, 2019 at 02:32 AM UTC #

I am not sure about Apache, but I think this is a good device. - https://allbrandcs.com.au/

Posted by allbrandcs on January 26, 2019 at 06:33 AM UTC #

In Apache you need to familiar the important components and parts of the device. http://carvavancare.blog.rs/blog/carvavancare/generalna/2018/10/17/tips-for-sustaining-your-stationary-caravan

Posted by Px3 on January 26, 2019 at 06:43 AM UTC #

This is something that really bothers you, when you can send emails, but you are unable to receive emails in your own Yahoo! Mail inbox. Well, we have some quick fix for this concern. You can take help from these troubleshooting tips; yet, make sure to follow the order.

Posted by Having trouble receiving emails in New Yahoo Mail? on January 29, 2019 at 06:18 AM UTC #

Such a good way to learn apache - https://www.smarthomeworks.com.au/

Posted by Home Automation on February 03, 2019 at 12:42 PM UTC #

The Yahoo Helpline Number is very helpful for the users as it has been set up to fulfill the needs of the users. This contact number of the Yahoo customer services helps the users to talk to the technicians and the other members of the customer support team. This support team is always happy to provide the technical solutions to the users for resolving the different issues that are faced by the users.

Posted by Best Yahoo support number for your solution on February 11, 2019 at 08:54 AM UTC #

Apache Log4j is the best framework for developing the for logging application. It is very useful for all types of programming language. It is very useful for running your project in a local system.

Posted by Roadrunner Email Blank Screen Error on February 12, 2019 at 07:38 AM UTC #

In case you face any difficulty in using these steps you can contact a third party tech service providing company and get quality help from experts.

Posted by Additional Gmail account on Computer and iPhone on February 12, 2019 at 12:29 PM UTC #

Whether having trouble accessing your Yahoo Mail account or whether you are unable to access certain features in Yahoo Mail, for each and every Yahoo Mail related issues and queries, rely on our efficient team of experts who possess immense expertise in handling various Yahoo Mail issues. To get in touch with our experts, call us on our 24-hour toll-free number or email us your concern. You can also ask for remote assistance or live-chat support, we have multiple assistance options to help your overcome your Yahoo Mail problems and queries. Get in touch with us today.

Posted by Call Yahoo Customer Service Number Representative on February 15, 2019 at 06:24 AM UTC #

Thanks for this info on how to install apache - I am working on this website - https://lalounge.com.au/living-room-lighting-ideas/

Posted by Living Room Lighting on February 16, 2019 at 09:24 AM UTC #


Posted by Garmin Support on March 07, 2019 at 10:38 AM UTC #

Nice post

Posted by Computer Support Number on March 07, 2019 at 10:40 AM UTC #

Nice post

Posted by Printer Offline Support on March 07, 2019 at 10:40 AM UTC #

Nice Post

Posted by Garmin map update on March 07, 2019 at 10:41 AM UTC #

Looking for a reliable printer service provider, dial the toll-free number of Epson printer customer support. The technicians will provide you with assistance for all technical issues related to the epson printer customer support.

Posted by Abigail Smith on March 09, 2019 at 05:18 PM UTC #

Thanks for the interesting post of Apache and we get the updated knowledge.

Posted by Epson Printer Customer Care on March 15, 2019 at 05:51 AM UTC #

Yahoo client Service help and facilitate the users in numerous ways that to facilitate them in their issues with a read of users satisfaction. They conjointly maintain the security and security of the shoppers accounts. You can also call us our toll free Yahoo mail help phone number for email support services regarding to yahoo mail account.

Posted by Yahoo Mail Help on March 15, 2019 at 12:27 PM UTC #

If you forget your Roadrunner email password, then there are two ways to retrieve it depending on the factor whether it is your first time or you have forgotten the password before.

Posted by Forgot Roadrunner Password on March 22, 2019 at 07:06 AM UTC #

Deleting messages on Skype is quite easy, just right-click on your message and select the “Remove” option from the menu. The message will be deleted from your Skype account. Similarly, if you wish to delete the entire conversation, just right-click on the name of the person in the recent-chats section and select Delete conversations option. The entire conversation with the selected person will be removed. If you need assistance for any other Skype-related issues, feel free to get in touch with our Skype customer support. Our Skype customer service experts are available 24 by 7 via our toll-free Skype customer care number. Also, you can also seek assistance via email, live chat, and remote assistance support. So, get in touch with us today to get your Skype-related queries resolved promptly.

Posted by Skype Helpline Phone Number Toll Free on April 01, 2019 at 12:30 PM UTC #

Informative. Thanks for this helpful information

Posted by geeksquad webroot on April 03, 2019 at 07:50 PM UTC #

To solve problems with Epson Printer you need Epson printer support number experienced technicians, therefore, we third-party support service provider is present. Reach us at Epson printer support number for your entire errors fixation. Epson experienced qualified, skilled, tech experts are present 24/7 to direct you in the right direction with appropriate solution hence solve the issues. Reach us at Epson printer support number via placing a phone call, having live chat with experienced technicians for a proper understanding of the error or dropping an email to Epson printer support number and get instant solution. Solve your multiple problems of Epson Printer by online remote help.

Posted by Epson printer | Support phone number | Printer support on April 25, 2019 at 10:57 AM UTC #

Nice post about the Apache Logging.. it will really help me...

Posted by Write for us on April 26, 2019 at 09:40 AM UTC #

I was looking for this update, Thanks for letting us know.

Posted by Windows Errors Code 43 on April 27, 2019 at 07:21 AM UTC #

If you want to explore deals and offers on airlines, dial JetBlue Airlines Phone Number. Our agents are always active to provide varied deals at JetBlue Airlines Phone Number. https://airlinesphonenumbers.net/jetblue-airlines-phone-number/

Posted by JetBlue Airlines Phone Number on May 01, 2019 at 06:53 AM UTC #

Roadrunner 24/7 help is available on contactsupportdesk.com simply follow the link highlighted as roadrunner customer support and solve any of technical trouble you're facing.

Posted by roadrunner customer support on May 06, 2019 at 09:11 AM UTC #

If your Epson printer is creating problem, then call Epson printer tech support number to get the best solution for your printer problems. Our experts at Epson printer tech support number are always there to assist the customers for the problem. https://www.printerhelp24x7.com/epson-printer-support.html

Posted by Epson Printer Tech Support Number on May 07, 2019 at 11:52 AM UTC #

Facing technical error in your yahoo mail don't need go anywhere just dial aol 800 number for help.

Posted by Aol 800 Number on May 07, 2019 at 12:10 PM UTC #

Sxiphone- real top tech update |technology blog

Posted by sxiphone on May 08, 2019 at 06:41 PM UTC #

Our expert are available 24*7 hours to provide the technical support service at McAfee scan not working to solve the following kinds of problems and errors in your antivirus software.

Posted by amara saxena on May 10, 2019 at 09:19 AM UTC #

We provide the best support for printer related problems, dial Lexmark Printer Support Number and talk with our experts. Lexmark Printer Support is best active to address all the technical issues faced by the customers. https://www.printerhelp24x7.com/lexmark-printer-support.html

Posted by Lexmark Printer Support on May 15, 2019 at 01:56 PM UTC #

Book your airline tickets at the lowest prices, dial Airlines Phone Number and get exclusive deals & offers for various flight tickets. Our team is available 24/7 to deal with every problem of customer at Airlines Phone Number. https://airlinesphonenumbers.net/

Posted by Airlines Phone Number on May 16, 2019 at 07:13 AM UTC #

However, most people will either find these steps too technical or may not have the patience to follow lengthy tutorials. It may also be possible that all such tutorials may not solve the problem you are facing, at all. In such cases one can contact Yahoo support Number.

Posted by Yahoo Email Problems on May 17, 2019 at 11:19 AM UTC #

I like your blog post. Keep on writing this type of great stuff. I make sure to follow up on your blog in the future.

Posted by Mark Ford on May 19, 2019 at 08:18 AM UTC #

Post a Comment:
  • HTML Syntax: NOT allowed



Hot Blogs (today's hits)

Tag Cloud