Hi,
I'm not very aware of tomcat but I 'inherited' a webserver with tomcat where
an application does not seem to work anymore. So the first thing I wanted to
do is to look at the logfiles - no logfiles.
I looked at conf/server.xml and found:
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="/var/log/tomcat" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
[...]
<Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
directory="/var/log/tomcat" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
/var/log/tomcat/ does exist, is writable for tomcat and two files are
created at startup: stdout.log and stderr.log. That's it.
I found an article about log4j so I created common/classes/log4j.properties
with:
log4j.rootLogger=INFO, R
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.DatePattern='.'yyyy-MM-dd
log4j.appender.R.File=/var/log/tomcat/tomcat.log
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
Nothing.
Any ideas are appreciated.
Thanks, Helmut
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]