Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Struts logging configuration

Status
Not open for further replies.

volgadev

Programmer
Mar 16, 2005
10
0
0
FR
Hi,

I am desperately trying to configure Struts logging with no result. I am using Struts 1.1. I put a file named commons-logging.properties in the class directory, with the following line :

org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog

I also tried to replace this line with :

org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog

and add a second file named simplelog.properties containing the line :

org.apache.commons.logging.simplelog.defaultlog=fatal

In any case, I always get "info" logging level.

Any idea ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top