When I initialise Log4j, it outputs the following to standard output:

 

log4j: Threshold ="null".

log4j: Level value for root is  [debug].

log4j: root level set to DEBUG

log4j: Class name: [org.apache.log4j.FileAppender]

log4j: Setting property [file] to [c:/eai/usa.log].

log4j: Setting property [threshold] to [DEBUG].

log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"

log4j: Setting property [conversionPattern] to [%d [%t] %-5p %c{1} : %m%n].

log4j: setFile called: c:/eai/usa.log, true

log4j: setFile ended

log4j: Adding appender named [debug-out] to category [root].

How can I turn this output off?

 

Note: I'm using DOMConfigurator.configure(String filename) to perform the
initialisation.

 

Thanks in advance ...

 

Steve

 

 

 

Reply via email to