logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghuveer" <raghuve...@infotechsw.com>
Subject RE: How to Stop logging
Date Sat, 29 Dec 2007 05:32:44 GMT
Hi Malik,
This is not working for me.
2 Log files are created for struts and application..
Any other alternative..

-----Original Message-----
From: Malik, Pratibha [mailto:Pratibha.Malik@safenet-inc.com] 
Sent: Thursday, December 27, 2007 11:51 AM
To: Log4J Users List; raghuveerv@infotechsw.com
Subject: RE: How to Stop logging 

The way to stop logging is to set the threshold "OFF"


-----Original Message-----
From: Sharma, Manu IN GGN SISL [mailto:manusharma@siemens.com] 
Sent: Thursday, December 27, 2007 11:41 AM
To: Log4J Users List; raghuveerv@infotechsw.com
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:raghuveerv@infotechsw.com] 
Sent: Thursday, December 27, 2007 10:40 AM
To: log4j-user@logging.apache.org
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.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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message