show / hide section
Application Details - Learn about the application

edit info

log4j is a Java-based logging utility. It was originally written by Ceki G?lc? and is now a project of the Apache Software Foundation. It is used primarily as a debugging tool. log4j is one of several Java Logging Frameworks Log4j 1.2 offers six standard logging levels; from highest (coarsest) to lowest (finest): FATAL, ERROR, WARN, INFO, DEBUG, TRACE Also, custom logging levels can be added. There are 2 ways to configure log4j. One is with a properties file and the other is with an XML file. Within either you can define 3 main components: Loggers, Appenders and Layouts. Configuring logging via a file has the advantage of turning logging on or off without modifying the application that uses log4j. The application can be allowed to run with logging off until there's a problem, for example, and then logging can be turned back on simply by modifying the configuration file. Loggers are logical log file names. They are the names that are known to the Java application. Each logger is independently configurable as to what level of logging (FATAL, ERROR, etc) it currently logs. In early versions of log4j, these were called category and priority, but now they're called logger and level, respectively. The actual outputs are done by Appenders. There are numerous Appenders available, with descriptive names, such as FileAppender, ConsoleAppender, SocketAppender, SyslogAppender, NTEventLogAppender and even SMTPAppender. Multiple Appenders can be attached to any Logger, so it's possible to log the same information to a file locally and to a socket listener on another computer, for example. Appenders use Layouts to format log entries. A popular way to format one-line-at-a-time log files is PatternLayout, which uses a pattern string, much like the C (programming language) function printf. There are also HTMLLayout and XMLLayout formatters for use when HTML or XML formats are more convenient.   [edit]

Project Details   [edit]

Project Resources   [edit]

Attribution: Information obtained from users, and repositories like FLOSSmole, Wikipedia, Apache, Codehaus, Tigris and several others. Please inform us of any errors, objections or omissions. You can find our terms of service here.
more details


log4j

log4j is a Java-based logging utility. It was originally written by Ceki G?lc? and is now...

OStatic Users 5
Stories 0
Questions 0
open
Copy and paste the following script code into the HTML source of the site where you want this widget to appear.
<script type="text/javascript"> ostaticv='i=38706&t=badge&h=130&w=300'; </script> <script src="http://ostatic.com/ostatic.js" type="text/javascript"> </script>

Application Users

blaze615 Points


Deepak Mittal440 Points


Alex De Marco425 Points


Alex Osyatnikov400 Points


Athrawn17400 Points




show / hide section
Screenshots & Screencasts - See the Application in action

Top
add screenshot

log4j-[2]

log4j-[1]

add screenshot
Showing Page:

    show / hide section
    Alternatives - Suggested alternatives to this software

    Top
    add alternative

    show / hide section
    News Central - Stay informed with Application-related news

    Top

    Share a valuable story about this application with the OStatic Community.

    Suggest Article
    Captcha Image: you will need to recognize the text in it.

    Career Center

    Posted: Aug. 6, 2008

    Posted: Aug. 6, 2008

    Posted: Aug. 6, 2008

    Posted: Aug. 6, 2008

    Posted: Aug. 6, 2008

    Search oDesk Jobs

    3,700+ Available Jobs


    show / hide section
    Questions - Get Answers and Share Your Expertise

    Top
    show / hide section

    Application-Related Questions

    Ask the OStatic community your question about this software.

    Ask A Question

    Search oDesk Experts

    Need help with your project? 66,000+ experts await your request at oDesk

    show / hide section
    Reviews - Learn from members' experience and share your own

    Top
    show / hide section

    Application Reviews

    Flexible logging system for Java that allows output to a variety of places. Excellent performance and small footprint.


    0 Votes


    Add A Review