fedora tomcat log file path
Posted
by
Kamil
on Server Fault
See other posts from Server Fault
or by Kamil
Published on 2012-04-17T10:27:11Z
Indexed on
2014/06/06
3:28 UTC
Read the original article
Hit count: 521
My log file is inside:
kamil@localhost tomcat$ grep "logs/" ./*
./log4j.properties:log4j.appender.R.File=${catalina.home}/logs/tomcat.log
my CATALINA_HOME is
kamil@localhost tomcat$ sudo grep "CATALINA" ./*
...
./tomcat.conf:CATALINA_HOME="/usr/share/tomcat"
that above suggests that my log file is hare, and there it's:
kamil@localhost tomcat$ sudo ls /usr/share/tomcat/logs/ | grep .out
catalina.out
So why can't I start server:
kamil@localhost tomcat$ sudo tomcat start
/usr/sbin/tomcat: line 30: /logs/catalina.out: No such file or directory
© Server Fault or respective owner