YSoft SafeQ 5 - Tomcat logging configuration

Using Procrun to log

This option is disabled by default. Tomcat generates log information into cmlweb.log file which should contain all logging infomration produced by Tomcat server.

 

It is possible to configure Procrun wrapper of Tomcat to generate additional logging files.

In order to manage Procrun execute following command in <SafeQ_dir>\tomcat\bin directory:

tomcat7w.exe //ES//YSoftWeb

Configuration dialog will appear. It is possible to change logging options in Logging tab.

images/download/attachments/21955683/procrun_logging.png

 

It is possible to redirect Stdout and Sdterror to file. You can either select specific path to file where to store log or insert "auto".

When you set it to specific file, then this file will be overwritten by every restart of Tomcat and it's size is not restricted. It is not recommended for long running services.

When you set it to "auto", then Tomcat will create log files with time stamp. This is better approach, because logs won't lost after restart of service, but administrator must take care of deleting too old log files.

This setting is overwritten by SafeQ installer. If you upgrade SafeQ then this setting will be lost.

 

Further information about Procrun: http://commons.apache.org/daemon/procrun.html