Differences between revisions 231 and 232
Revision 231 as of 2013-09-06 03:35:52
Size: 6320
Editor: 58
Comment: revert spam
Revision 232 as of 2013-11-20 17:22:25
Size: 6270
Editor: 131
Comment: Spam. https://issues.apache.org/jira/browse/INFRA-6963
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
Any '''bugs''' should be reported via [[http://issues.apache.org/bugzilla/|Apache Bugzilla]] or [[http://bit.ly/IYbIzn|Valutazione Oro Usato]]. The list of open bugs is [[http://issues.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Log4j&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&order=Reuse+same+sort+as+last+time|here]]. Any '''bugs''' should be reported via [[http://issues.apache.org/bugzilla/|Apache Bugzilla]]. The list of open bugs is [[http://issues.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Log4j&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&order=Reuse+same+sort+as+last+time|here]].


What is it?

Log4j is a fast and flexible framework for logging application debugging messages.

With log4j it is possible to enable logging at runtime without modifying the application binary. The log4j package is designed so that these statements can remain in shipped code without incurring a heavy performance cost. Logging behavior can be controlled by editing a configuration file, without touching the application binary.

Future developments

Ceki Gülcü, the founder of the log4j project, is currently working on a successor called logback (licensed under GNU LGPL). However, development of log4j goes on. See this posting.

According to Curt Arnold (posting of Jun 5, 2007):

Development on log4j 1.3 has effectively ended in preference for working on log4j 2.0 designed for JDK 1.5 and higher and continued support of log4j 1.2 for existing applications and earlier JDKs. log4j 1.3 was stuck in having too many compatibility issues to be just a dot release but not a radical enough change to address some long standing issues. Many months of work were done to improve the compatibility between log4j 1.3 and log4j 1.2, but many hard issues still remained. It seemed better to bring features originally designed for log4j 1.3 back so they could be used with deployed log4j 1.2 versions and move on to something for the modern era. Some early experiments for log4j 2.0 are in the sandbox, but it hasn't been built out to a functioning framework yet.

logback does position itself as a migration path for log4j users. The development model, design objectives and licenses differ between logback and log4j and the resulting products will have different strengths. As a log4j core developer, I feel that I can't become intimately familiar with logback code due to its license and the potential repercussions of an accidental code leakage into log4j, so I'm not going to be in a position to give a point by point comparison on logback and log4j 1.2 or log4j 2.0.


The log4j-user mailing list is log4j-user@logging.apache.org . You can subscribe from this link, but please be sure to read this first.

Any bugs should be reported via Apache Bugzilla. The list of open bugs is here.

Users are encouraged to first search the Main log4j FAQ, this wiki's FrequentlyAskedQuestions, and the mail archives to see if a question has been previously answered. If not satisfied with the results of this search, then by all means, please post your questions.

  • PackagesOverview - A quick look at the packages in the log4j source tree

  • FrequentlyAskedQuestions - Some answers to frequently asked questions.

  • Some answers to frequently asked questions.
  • Log4jRequestedFeatures - What are the number one or two features you would like to see added to log4j? How can we make it a better logging tool for you? Tell us, we really want to know.

  • TraceDebate - The pros and cons for adding a trace level.

  • Log4jv13Features Log4j13PrioritizedTasks - Log4j 1.3 development has been abandoned and no future releases or development are anticipated. See http://logging.apache.org/log4j/1.3/index.html

  • ToDo - The current log4j "to do" list.

  • UsefulCode - This is a forum for developers to list useful classes or code bits related to using log4j. Please feel free to list pieces of code that you have found useful. Chances are there are others out there that will find it useful as well.

  • ContributingCode - Have some cool code, patches, or classes you want to submit to the log4j project? This page describes how to contribute it.

  • ChainsawHelp - Go here to help build a Chainsaw V2 FAQ (and find other tricks there as well).

  • Log4jRelatedResources - Log4J related external resources and software packages

'Special' Wiki pages

  • TitleIndex

    • A list of all pages on this wiki.


    • A basic guide to the MoinMoin wiki (including information about wiki syntax).


    • A list of all the words that appear in the titles of the pages on this wiki, with links to pages that include that word.


    • A full-text search of the wiki.


    • All the "broken links" -- a list of all the pages on this wiki that are linked to, but do not exist.


    • All pages on this wiki that are not linked to from anywhere else (and are thus very hard to reach).


    • Generates a list of 75 random pages on this wiki.


    • Generates a graph and some statistics about the sizes of pages on this wiki.


    • Generates a graph of page views and page visits.


    • Generates a graph of the web browsers used in visiting this page.


    • Shows basic information about this wiki installation, the extensions it has installed, etc.

FrontPage (last edited 2013-11-20 17:22:25 by 131)