Hi,

I want to have fine-grained configure of logging in my struts application,
for example, for class A, it allows info level logging, for class B, it
allows trace level logging. I surfed the net and found some entries in the
commons-logging properties file, for example

org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
org.apache.commons.logging.simplelog.log.LogonAction=info

I wonder are there any other entries so that I can control the logging level
for different classes? ( I created the log each class, for example, log =
LogFactory.getLog(A.class);

Where is the doc for all the entries that user can input in the file? I read
the source codes of the logging package but did not find the answer and I
guess I must have missed sth.

Thanks for your time.

Regards,

Duan Qiang


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to