|
From: Mark M. <MMo...@gl...> - 2006-08-21 20:06:39
|
We're in the same boat. We have our logger.properties set like this: log4j.appender.LOGFILE=3Dorg.apache.log4j.FileAppender log4j.appender.LOGFILE.File=3D/logs/output.log log4j.appender.LOGFILE.Append=3Dtrue log4j.appender.LOGFILE.Threshold=3DINFO log4j.appender.LOGFILE.layout=3Dorg.apache.log4j.PatternLayout log4j.appender.LOGFILE.layout.ConversionPattern=3D[%F %L] %M: %m%n # Enable INFO messages on the search handler only so it can announce itself log4j.logger.org.ourclasshierarchy=3DINFO, LOGFILE So any class we write will log to our file and anything produced by the wrapper will go wherever wrapper.conf sends it. Thanks _Mark =20 This e-mail message, and any attachments, is intended only for the use = of the individual or entity identified in the alias address of this = message and may contain information that is confidential, privileged and = subject to legal restrictions and penalties regarding its unauthorized = disclosure and use. Any unauthorized review, copying, disclosure, use or = distribution is strictly prohibited. If you have received this e-mail = message in error, please notify the sender immediately by reply e-mail = and delete this message, and any attachments, from your system. Thank = you.=20 -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Jeff Lanzarotta Sent: Monday, August 21, 2006 3:35 PM To: Wrapper-User List Subject: [Wrapper-user] Logging question Hello, I have written an application that used log4j for logging. Right now when the application logs a message through log4j, it is written to log4j's log file AND wrapper picks up the message and writes it to it's log... Thus, I have every single message logged twice... Is there a way to have wrapper NOT log messages from log4j? I really only want wrapper to log information specific to 'wrapper' not my application... Thoughts? Regards, -Jeff -Jeff ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |