Log4j: Difference between revisions

From Wiki RB4
No edit summary
No edit summary
Line 1: Line 1:
=Concepts=
Log4j has four fundamental objects: categories, priorities, appenders and layouts.
=Configuration=
Properties can be defined by a properties file or by an XML file.
Properties can be defined by a properties file or by an XML file.



Revision as of 10:43, 4 January 2010

Concepts

Log4j has four fundamental objects: categories, priorities, appenders and layouts.

Configuration

Properties can be defined by a properties file or by an XML file.

Logging Level are:

  • ALL
  • DEBUG
  • ERROR
  • FATAL
  • INFO
  • OFF
  • TRACE
  • WARN