struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Day" <allen....@ihc.com>
Subject RE: Applicaton-specific logging in Struts
Date Tue, 30 Nov 2004 21:39:35 GMT
That didn't make any difference, but it was worth a try so thanks!

Is there a way to turn off the Struts logging?


>>> Graeme.Miller@orionhealth.com 11/30/2004 2:30:54 PM >>>
Firstly make sure you have no spaces after the commas and that the
struts entry is on a separate line from the rootlogger entry

Try something like

log4j.rootCategory=DEBUG,stdout
log4j.logger.org.apache.struts=FATAL

-----Original Message-----
From: Allen Day [mailto:allen.day@ihc.com] 
Sent: Wednesday, 1 December 2004 10:24 a.m.
To: user@struts.apache.org 
Subject: RE: Applicaton-specific logging in Struts


I'm new to Struts.  I would also like to reduce (or turn off) the
Struts
logging.

Currently I'm using Struts 1.2.4, and I'm using log4j-1.2.9.

In addition to the first line, I added the second line to my
'log4j.properties' file, but nothing changed -

log4j.rootLogger=DEBUG, stdout, wlout
log4j.logger.org.apache.struts=FATAL, stdout

Any suggestions?

Thanks,
  Allen Day
  Intermountain Health Care


>>> Chris.McCormack@littlewoods.co.uk 11/26/2004 6:59:10 AM >>>
log4j.logger.com.myapp=DEBUG,A1
log4j.logger.org.apache.struts=FATAL,A2

where A1 and A2 are different console or file appenders.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org 
For additional commands, e-mail: user-help@struts.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org 
For additional commands, e-mail: user-help@struts.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message