This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Log settings 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 » Products » Tomcat
Bookmark "Log settings" Watch "Log settings" New topic
Author

Log settings

Matthew Snow
Ranch Hand

Joined: May 02, 2007
Posts: 82
I'm getting the SEVERE: Error filterStart error at startup. I have no compile errors so I'm not sure what's causing it. I've followed the instructions at http://tomcat.apache.org/tomcat-5.5-doc/logging.html for setting up a log4j.properties file, but of course it takes forever to run and the log file is huge. Does anyone have any tried and true log settings I can put in this properties file for diagnosing this error? Thanks.


When you break the big rules, you get a lot of little rules.
Matthew Snow
Ranch Hand

Joined: May 02, 2007
Posts: 82
I simply replaced each instance of DEBUG with WARN and I got the exceptions I was looking for. Still, does anyone have a favorite log4j.properties they could share?
 
Don't get me started about those stupid light bulbs.
 
subject: Log settings
 
Similar Threads
Ask log4j NOT to create an empty log file
Eclispse 3.2
Is there a Eclipse Console log file?
re install vmware?
Tomcat not generating default Log file