VDS Sphera Knowledge Base
| Main / Browse Categories / Tomcat Server / How come my catalina.out file is zero length? |
How come my catalina.out file is zero length?
|
The Tomcat STDOUT is being redirected to /dev/null. You can modify the start script to send the output to the /var/log/tomcat4/catalina.out file, by doing the following.
Edit the /usr/bin/dtomcat4 file. Modify the following text: org.apache.catalina.startup.Bootstrap "$@" start \ >dev/null 2>&1 & #LOG: # >> "$CATALINA_BASE"/logs/catalina.out 2>&1 &To look like this. org.apache.catalina.startup.Bootstrap "$@" start \ >> "$CATALINA_BASE"/logs/catalina.out 2>&1 &Then restart tomcat with:
/etc/rc.d/init.d/apachectl restart
User Comments
|
||||||||
Attachments
| No attachments. |
Related Articles
|
|


