Re: How do I disable struts logging?

2003-11-01 Thread Rick Reumann
Jeremy Nix wrote:

I'm looking for exact instructions on how to turn off struts logging.
Can somebody help me out?  I've tried log4j.properties with no avail.
How did you try to turn it off in log4j.properties? Since I usually 
end up with a log4j.properties file anyway here's what I have been 
doing:

At the top of your log4j.properties make sure you set up the 'root' 
logging to something like 'error.' This will turn off all the 
annoying logging validation info messages you get from validator 
etc. I then set my top level package to something like debug for use 
in my development and have that print to a RollingFileAppender.
Example...

log4j.rootCategory=ERROR, stdout
log4j.logger.topPackageName=DEBUG, rolling
Let me know how it works for you, or if you try something else, I'd 
be interested in knowing what you did. Thanks.

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


RE: How do I disable struts logging?

2003-10-30 Thread Jeremy Nix
I'm looking for exact instructions on how to turn off struts logging.
Can somebody help me out?  I've tried log4j.properties with no avail.


_
Jeremy Nix
Southwest Financial Services, LTD.
[EMAIL PROTECTED]
(513) 621-6699 ext.1158



-Original Message-
From: Jeremy Nix 
Sent: Wednesday, October 29, 2003 3:25 PM
To: [EMAIL PROTECTED]
Subject: How do I disable struts logging?


The debug init-param no longer works with v1.1, so what other options do
we have on disable the struts internal logging?


_
Jeremy Nix
Southwest Financial Services, LTD.
[EMAIL PROTECTED]
(513) 621-6699 ext.1158


-
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]



Re: How do I disable struts logging?

2003-10-30 Thread Philip Mark Donaghy
--- Jeremy Nix <[EMAIL PROTECTED]> wrote:
> The debug init-param no longer works with v1.1

I'm not sure about that? But...

> what other options do
> we have on disable the struts internal logging?

I found this nice log4j config file xml. I am using
log4j version 1.2.8 and it outputs all org.apache
packages in mode INFO and my packages in mode DEBUG.

Put the log4j jar in your WEB-INF/lib and this file
(log4j.xml) in WEB-INF/classes.




http://jakarta.apache.org/log4j/";>
  

  

  
  
  
  
  
  
  
  
  
  


  


Good luck,

Phil

=
Java Web Application Architect
mapimage.com - Java and GIS
struts1.1:tomcat4.1.27:linuxRH8

__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

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