Yes, In the init() method of the controller servlet define all your categories and give them a priority. You may also want to put the categris in web.xml so you can read them in runtime and thus be able to change the log detail level (i.e. only ERROR log messages) when you are in production.
 
Tomer Meshorer
NewChannel
 
 
 
 
-----Original Message-----
From: Azeem Niazi [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 11:22 AM
To: [EMAIL PROTECTED]
Subject: using log4J with Struts

Has anyone used log4J with struts. If so, how did you do it. Do you need to register log4j with controller servlet?


Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to