Difference between revisions of "Debug with Tomcat"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '{{TOCright}} __TOC__ You can debug your OpenKM installation using the Tomcat logging facility. This is an useful thing when you have problems with your configuration. Default Op…')
(No difference)

Revision as of 11:31, 25 October 2012

You can debug your OpenKM installation using the Tomcat logging facility. This is an useful thing when you have problems with your configuration. Default OpenKM installation tries to log important events like errors and warnings. Is possible to change this configuration editing the file $TOMCAT_HOME/conf/logging.properties.

Default Tomcat log configuration can generate a lot of messages. These files are stored at $TOMCAT_HOME/logs. It is configured to use the DailyRollingFileAppender. This appender create a new log file for every day. This is better than have a unique huge log file, os course. The rollover is performed at midnight each day, but you can configure it to make the rollover every hour (uncomment the proper line).