Apache Logging Services

Saturday October 13, 2012

Apache log4php 2.3.0 released

The Apache log4php team is pleased to announce the release of Apache log4php 2.3.0.

Significant changes in this release include:


  • Ability to override the default renderer.

  • New experimental appender: FirePHP

  • Many improvemetns to LoggerLayoutPatern (support for long conversion
    words, many new conversion words)

  • Various improvements to appenders

  • Several bugfixes

Release notes, including the full change, log can be found here:
http://logging.apache.org/log4php/changelog.html

The release is available from:
http://logging.apache.org/log4php/download.html

The PEAR package will be available in a couple of days from our PEAR channel:
http://pear.apache.org/log4php/Y

Thanks to everyone who participated in the making of this release.

Best regards,
The Apache log4php team

Apache Logging log4j 2.0-beta2 released

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

Bug fixes and enhancements

Changes in this version include:

New features:



  • LOG4J2-35: Add interval and modulate options to TimeBasedTriggeringPolicy to allow more fine-grained control of
    when file rolling should occur.

  • LOG4J2-58: Add support for filtering packages from stack traces.

  • LOG4J2-84: If system property "disableThreadContextStack" is set pushes to the ThreadContext will be ignored. If
    system property "disableThreadContext" is set both puts and pushes will be ignored.

  • LOG4J2-83: If system property "disableThreadContextMap" is set puts to the ThreadContext will be ignored. If
    system property "disableThreadContext" is set both puts and pushes will be ignored.

  • Add support for ANSI colors by adding the highlight and style pattern converters. Fix pattern
    parsing to allow nested patterns.

  • Allow the status logging to be directed to stderr or to a file.

  • Add getFormats to MultiformatMessage and allow StructuredDataMessage to format as XML.

Fixed Bugs:



  • DefaultConfiguration was not starting the Console Appender.
  • LOG4J2-92: Converted DynamicThresholdFilter to use KeyValuePair. Fixed bugs in the Map-based filters
    to allow declaration of multiple values for a key to match the documentation.

  • LOG4J2-88: Many logging methods in AbstractLogger were set to an incorrect logging level. catching was
    using the THROWING marker and was set to debug instead of error.

  • LOG4J2-91: Log4j 1.2 adapter's Category class was missing 3 log methods.

  • LOG4J2-84: If the ThreadContext stack is empty the LogEvent will contain a null value to reduce the overhead of
    creating log events and in the size of the serialized object. Changed the ThreadContext stack to use
    a custom stack interface instead of java.util.Stack as that class is overly heavy. This change will
    cause an API incompatibility.

  • LOG4J2-83: If the ThreadContext map is empty the LogEvent will contain a null value to reduce the overhead of creating
    log events and in the size of the serialized object.

  • LOG4J2-90: Add documentation on client vs server mode to performance page.

  • Move variable substitution from PatternLayout to appropriate converters to improve performance.

Changes:



  • Made ParameterizedMessage, StringFormattedMessage and ThreadDumpMessage immutable. LocalizedMessage is
    immutable except that it will be updated with the logger name when it is added to the LogEvent.

Requirements

Apache Log4j 2.0-beta2 requires a minimum of Java 5 to build and run. Basic compatibility with
Log4j 1.x is provided through the log4j12-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/

Monday September 24, 2012

Apache log4j 2.0-beta1 released

The Apache Logging team is pleased to announce the Apache log4j 2.0-beta1 release! This is the third release of Log4j 2 and is being made available to encourage use and feedback from the community.

[Read More]

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.

Sunday July 15, 2012

Website upgrade

The Apache Logging team upgraded all Logging websites to the Apache CMS. This was a huge effort for the whole team. And we were very glad we got so much help from the Apache Infrastructure and the Apache Maven team (esp. Hervé Boutemy) - thank you very much to all who spent their time.

Now we have a great new landing page, based on Twig and Twitters Bootstrap. Updates to the files are turned into plain HTML by the CMS. You can look at these files here. The Logging project does maintain several subsites. These have been included as so called "extpaths". Now it is possible for us to build our subsites with maven and copy the result to a specific svn tree. From there it is taken by the CMS and published. You can look at the subsites code here.
Most subsites are still in the "plain maven look and feel". Except the webpages for Apache log4j 2, which does already wear the layout of the fantastic Apache Maven Fluido Skin.

The Apache CMS is a pretty fabulous tool. It is extremely flexible in that you can use what it offers out of the box, you can customize it to use a different templating mechanism as we did, or you can have the system run Maven to build your site. For us, using the CMS for the main set of web pages provides us a way to quickly maintain the main part of the site while each of our subprojects is still free to generate all the build documentation Java developers have become accustomed to.

Again, we really want to that the Apache Infrastructure team for creating this tool and providing support to us along the way.

Thursday June 21, 2012

Welcome Dominik Psenner

The Apache log4net team would like to welcome Dominik Psenner as a new committer! Welcome!

Monday May 28, 2012

Apache Logging log4j 1.2.17 released

The Apache Logging team is pleased to announce the Apache log4j 1.2.17 release!

[Read More]

Sunday March 25, 2012

Welcome Gary Gregory

The Apache log4j team would like to welcome Gary Gregory as a new committer! Welcome Gary!

Sunday February 26, 2012

log4j 2 is on the main trunk

After 2 years of experimental development the Apache Logging project has moved the log4j 2.0 code to the main trunk of log4j. You can find the code at
https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk.

Log4j 2.0 supports Java 5.0 and has many interesting features including:

  • Support for using the SLF4J or Commons Logging APIs
  • Configuration via JSON (as well as XML)
  • Automatic reloading of configurations without losing logging events
  • Plugin architecture that allows new components to easily be added
  • Allows variables from System Properties, MDC, Log event data, and more to be accessed in the configuration

Your help would be greatly appreciated! Please provide feedback, suggestions and questions to log4j-dev@logging.apache.org.

Patches, enhancement requests and bugs can be reported to: https://issues.apache.org/jira/browse/LOG4J2

A website is prepared but has not been deployed to logging.apache.org yet. Ralph Goers, who initiated the work on Log4j2, has uploaded a preview at
https://people.apache.org/~rgoers/log4j2/

Best regards,
Your Logging team

Sunday February 19, 2012

Apache log4php 2.2.1 released

Dear all,

The Apache log4php team is pleased to announce the release of Apache
log4php 2.2.1.

This is a maintenance release which fixes several important bugs and
features yet another update to the web site design.

The full changelog can be found at:
http://logging.apache.org/log4php/changelog.html

The release is available from:
http://logging.apache.org/log4php/download.html

Thanks to everyone who participated in the making of this release.

Best regards,
The Apache log4php team

Friday February 10, 2012

Welcome Florian Semm

The Apache log4php team would like to welcome Florian Semm as a new committer! Welcome Florian!

Tuesday December 20, 2011

Apache log4php 2.2.0 released

Dear all,

The Apache log4php team is pleased to announce the release of Apache log4php 2.2.0.

Significant changes in this release include:

  • a full rewrite of the configuration logic which greatly improves error reporting
  • inline configuration using PHP arrays
  • a new web site with better documentation and more examples
  • a new layout: serialized

Release notes, including the full change, log can be found here: http://logging.apache.org/log4php/changelog.html

The release is available from: http://logging.apache.org/log4php/download.html

The site has just been updated so it may take a little while to sync.

Thanks to everyone who participated in the making of this release.

Best regards,
The Apache log4php team

Sunday July 18, 2010

Welcome Ivan Habunek

The Apache Logging team is pleased to announce Ivan Habunek as new committer for Log4PHP. Welcome, Ivan!

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation