I'm working with an application that uses log4j as its logging mechanism
and I want to use Chainsaw. It comes bundled with log4j.jar. I can't
find a log4j.properties anywhere with the application, but within
log4j.jar there's a file, defaultconfig.properties whose contents are:

 

# For the general syntax of property based configuration files see the

# documenation of org.apache.log4j.PropertyConfigurator.

 

# The root category uses the appender called A1. Since no priority is

# specified, the root category assumes the default priority for root

# which is DEBUG in log4j. The root category is the only category that

# has a default priority. All other categories need not be assigned a

# priority in which case they inherit their priority from the

# hierarchy.

 

log4j.rootCategory=, A1

 

# A1 is set to be a LogMonitorAppender which outputs to a swing

# logging console. 

  

log4j.appender.A1=org.apache.log4j.lf5.LF5Appender

 

 

I'm guessing I need to make some changes to this file?

 

Thanks,

Ollie

 

Reply via email to