Apache Logging Services

Tuesday October 11, 2016

A few more details about Apache Log4j 2.7


Apache Log4j 2.7 is now out on a href="https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.logging.log4j%22">Maven Central. Here’s are the highlights.

What's new since 2.6.2

  • The RoutingAppender can be configured with scripts.
  • A new Appender, the ScriptAppenderSelector can create another Appender as specified by a Script.
  • Users can now inject context data from other sources than ThreadContext. Values can be any Object, not just Strings.
  • The SocketAppender now supports IO buffering.
  • Added the ability to generate Log4j 2 XML configuration file from a ConfigurationBuilder.
  • Hello Scala! We've added Logging APIs for Scala 2.10 and 2.11.
  • Added options to exclude stack trace from JSON, XML and YAML layouts.
  • Added Core API Configurator.shutdown(LoggerContext, long, TimeUnit).
  • FileAppender and RollingFileAppender can create files on-demand.
  • PatternLayout added a color ANSI option to %message and %xThrowable.
  • org.apache.logging.log4j.core.LoggerContext now implements Closeable.
  • Add ThreadContextMap2 interface supporting method putAll(Map<String, String>).
  • Add JUnit Rule implementations to manage the thread context.
  • The Core AbstractConfiguration and AbstractManager now track its LoggerContext; add Configuration.getLoggerContext().

Continuing the Asynchronous Epic

  • We've added support for java.util.concurrent.LinkedTransferQueue to the AsyncAppender.
  • Added optional support for the Conversant DisruptorBlockingQueue in AsyncAppender.
  • Added optional support for JCTools MPSC bounded lock-free queue in AsyncAppender.

Continuing the GC-free Epic

  • Continuing the GC-free epic, we've added support for garbage-free ThreadContext map. This is disabled by default, and users need to enable this explicitly.
  • Also in GC-free-land, we changed LogEvent's internal data structure for context data to be garbage-free. We added the method LogEvent#getContextData() and deprecated getContextMap().

Continuing the Builder Epic

  • Added Builders for the ConsoleAppender, FileAppenderRoutingAppenderSocketAppender, and ServletAppender (and deprecated factory methods).
  • Builders can be generic.
  • Builder can subclass another Builder.

And bug fixes as well, for which you can just see the Log4j site.

Happy Log4j Logging!
Gary Gregory


Thank you apache, i am using on my http://localhost.support:80/ server. Apache very fast web server.

Posted by localhost on October 24, 2017 at 05:33 PM UTC #

Thank you so much appache im using it on my http://heartofvegasfreecoins.top server. It's really good.

Posted by John Wick on October 26, 2017 at 03:34 PM UTC #

Duck Life game is able to dodge such criticisms by shaking up and making the act of leveling up less repetitive through making the training the game. http://ducklife.xyz

Posted by ducks life on February 08, 2018 at 11:41 AM UTC #

I am tried on https://localhosts.mobi/:8080 my localhost server

Posted by localhost on May 08, 2019 at 04:27 PM UTC #

Thank you so much for this sharing. Now i am so exited for the http://freerobuxgenerator.net getting a new other site for the work.

Posted by shubham on June 27, 2019 at 06:53 AM UTC #

Thanks a lot @Gabriel Delfino @Julia Liudvinovskaya @Elizabeth Yaroshenko @Rg Design @Luis Taracena Great work, keep it up!

Posted by deltasone on July 19, 2019 at 04:26 PM UTC #

Get technical support for your navigational devices. https://garminmapupdate.net

Posted by david warner on August 01, 2019 at 10:54 PM UTC #

One of best informative sharing thank you.. https://www.facebook.com/raybabyjournal/

Posted by tfortuner on August 06, 2019 at 06:45 AM UTC #

Thank you so much for this sharing. I have implemented apache on my site https://kasakisi.com

Posted by Java Phones on October 06, 2019 at 01:32 PM UTC #

I am happy that Apache Log4j 2.7 is now out. But now its time to lighten up your mood. I have visited this website. I have got so much knowledge from it. This <a href="https://whenwillamywinehousedie.com/lil-uzi-vert-biography">website</a> is about entertainment, finance, health, home & garden, sports, technology and much more. Do check it out.

Posted by Lucas on October 08, 2019 at 10:45 AM UTC #

We Provide tech support for Webroot download, installation, activation, reinstallation, removal error while updating Webroot. http://web-rootsafe.com/

Posted by Webroot.Com/Safe | Www.Webroot.Com/Safe on October 09, 2019 at 12:23 PM UTC #


Posted by tim on October 30, 2019 at 12:49 PM UTC #


Posted by bob on October 30, 2019 at 12:51 PM UTC #

Log4j is an open source logging framework. With log4j – logging behavior can be controlled by editing a configuration file only without touching the application binary and can be used to store the Selenium Automation flow logs. It equips the user with detailed context for application failures.

Posted by indoor cycling @ Home on December 05, 2019 at 09:55 AM UTC #

Post a Comment:
  • HTML Syntax: NOT allowed



Hot Blogs (today's hits)

Tag Cloud