Sorry...it should be log4j.logger.com.testapp.test.threshold=OFF
-----Original Message----- From: Malik, Pratibha [mailto:[EMAIL PROTECTED] Sent: Thursday, December 27, 2007 11:51 AM To: Log4J Users List; [EMAIL PROTECTED] Subject: RE: How to Stop logging The way to stop logging is to set the threshold "OFF" log4j.logger.com.testapp.test=OFF -----Original Message----- From: Sharma, Manu IN GGN SISL [mailto:[EMAIL PROTECTED] Sent: Thursday, December 27, 2007 11:41 AM To: Log4J Users List; [EMAIL PROTECTED] Subject: RE: How to Stop logging Possible workaround : log4j.logger.com.testapp.test=fatal, test Description : Write fatal instead of debug, it would only display logging for fatal level and rest other will be automatically stopped. This way you can minimized the amount of logging generated. -----Original Message----- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 27, 2007 10:40 AM To: [email protected] Subject: How to Stop logging Is there way to stop logging in the application.. This is my configuration of log4j.properties log4j.logger.com.testapp.test=debug, test log4j.appender.test=org.apache.log4j.RollingFileAppender log4j.appender.test.File=\\\\logsserver\\APP_LOGS\\test\\test.log log4j.appender.test.MaxFileSize=5000KB log4j.appender.test.MaxBackupIndex=10 log4j.appender.test.layout=org.apache.log4j.PatternLayout #log4j.appender.test.layout.ConversionPattern=%d~%p~%c~ %m%n Important notice:This e-mail and any attachment thereto contains corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system. Thank You. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this electronic mail transmission may be privileged and confidential, and therefore, protected from disclosure. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer without copying or disclosing it. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
