Log4j

From Knowitall
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()