wood burning stoves 2.0*
The moose likes Struts and the fly likes Logging in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Logging in struts" Watch "Logging in struts" New topic

Logging in struts

Juergen Brust

Joined: Feb 05, 2003
Posts: 1
Hi folks,
I'm new with struts (1.1.b3, Tomcat 4.1.18) and try to do some logging with CommonsLogging and log4j but it doesn't seem to work.
I put the (correct) commons-logging.properties and log4j.properties in WEB-INF/classes but there is no log-file (from log4j appender) created.
In an application the same properties work fine.
Where do I have to put the properties? Or is there a possibility to see commons-logging simpleLog output somewhere? I don't see it on console nor in tomcat-logfile.
Thanks for your help!
I agree. Here's the link: http://aspose.com/file-tools
subject: Logging in struts
Similar Threads
Tomcat 6.0.35 hangs during startup
Log4j and WebSphere - the standard WebSphere SystemOutput.Is this how it should work?
unable to log with log4j in tomcat 6.0.29
Struts Log
Increasing logging level of tomcat