Moving tomcat4 logging on Plesk

To add logging on a Plesk-Tomcat 4 server, to a domain name, add the following code to the server.xml file.

<logger className="org.apache.catalina.logger.FileLogger" directory="/home/httpd/vhosts/" suffix=".log" timestamp="true"/>

Make sure that the /home/httpd/vhosts/ directory have the following permissions:

drwxrwxr-x 2 root tomcat4 4096 Aug 8 17:35 tomcat4

Leave a Reply

You must be logged in to post a comment.