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…')
 
Line 3: Line 3:
 
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''.
 
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).
+
Default Tomcat log configuration can generate a lot of messages. These files are stored at ''$TOMCAT_HOME/logs''.
 
 
  
 
[[Category: Installation Guide]]
 
[[Category: Installation Guide]]
 
[[Category: Developer Guide]]
 
[[Category: Developer Guide]]

Revision as of 12:32, 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.