File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Logging in struts" Watch "Logging in struts" New topic
Author

Logging in struts

Juergen Brust
Greenhorn

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