Log4j

From Knowitall
Revision as of 18:16, 13 May 2011 by Schmmd (talk | contribs) (Created page with "This is an nice introduction: [http://logging.apache.org/log4j/1.2/manual.html] You need to configure a logger so it knows where to output. The simplest way to configure the lo...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is an nice introduction: [1]

You need to configure a logger so it knows where to output. The simplest way to configure the logging system is to put the following code at the begining of your main method.

   BasicConfigurator.configure()