fedora tomcat log file path
- by Kamil
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