Monday, February 11, 2013

Tomcat log issue

Hi,
We are running Tomcat on two different servers. One is Tomcat5 comes under
RHEL5.2 DVD, Other is Tomcat5.5.28 from Tomcat website. Both are running on
RHEL5.2
Downloaded Tomcat shows " catalina.out, admin.log, catalina.log,
host-manager.log, localhost.log, manager.log " in log directory.
while Tomcat5 installed from DVD shows only "catalina.out" log. we need all
above logs in this server too.

In logging.properties following line are already define

"
1catalina.org.apache.juli.
FileHandler.level = FINE
1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
1catalina.org.apache.juli.FileHandler.prefix = catalina.
2localhost.org.apache.juli.FileHandler.level = FINE
2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
2localhost.org.apache.juli.FileHandler.prefix = localhost.
3manager.org.apache.juli.FileHandler.level = FINE
3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
3manager.org.apache.juli.FileHandler.prefix = manager.
4admin.org.apache.juli.FileHandler.level = FINE
4admin.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
4admin.org.apache.juli.FileHandler.prefix = admin.
5host-manager.org.apache.juli.FileHandler.level = FINE
5host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
5host-manager.org.apache.juli.FileHandler.prefix = host-manager.
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter "

 

No comments:

Post a Comment