Hi,

I am trying to figure out how to use Log4J with servlets. Presently at the
top of each class I have:

private static Category cat =
Category.getInstance(wrEstimatedValuesAction.class.getName());

Then throughout the class I use:

if(cat.isInfoEnabled)
        {

        }

Questions:

1: Lets say you have a lot of servlets, does each servlet load the
logsettings.properties file?
2: I am using Struts with the servlets, anyone have experience using Log4J.
Examples, ideas?

Thanks for any info.

Regards

Alex


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

Reply via email to