It's also worth checking out Chainsaw as a Log4J viewer - It has filtering capabilities that will probably work just as well for you as separate log files

The settings would be (for instance)

# log4j.properties  in  /WEB-INF/classes
log4j.rootLogger=ERROR, Chainsaw

log4j.appender.Chainsaw=org.apache.log4j.net.SocketAppender
log4j.appender.Chainsaw.remoteHost=127.0.0.1
log4j.appender.Chainsaw.port=4560

log4j.logger.your.package=DEBUG


You can get chainsaw at http://logging.apache.org/log4j/docs/chainsaw.html

Regards

Duncan Mills



Nicholas Hemley wrote:

Hello,

I have implemented a plugin to configure the logging for my application
but my application debug log is getting swamped by the struts debug
logging.

As I understand it, struts uses the common logging based on log4j but I
cannot find an example of how to separate struts logging from
application logging.

Essentially, what I would like to do is configure the logging so that
classes in my packages go to a different file!

Any help would be appreciated for this [not so major] problem...

Cheerio,
Nic.



[EMAIL PROTECTED] 26/11/2004 11:59:57 >>>


Hi,

I get the same results when Tomcat is not run as a service. Does this
mean it must be the Tomcat security policy?


Cheers
Andy

_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger



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




**********************************************************************
The information contained in this message may be confidential or legally 
privileged and is intended for the addressee only, If you have received this 
message in error or there are any problems please notify the originator 
immediately. The unauthorised use, disclosure, copying or alteration of this 
message is strictly forbidden.
**********************************************************************


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




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



Reply via email to