Public bug reported:

Binary package hint: tomcat5.5

The tomcat daemon syslog entries do not format well and are not easily
processed by tools like ossec.

The SYSLOG option is hard coded in /etc/init.d/tomcat5.5

Temporary work around:

Change

                $DAEMON -user "$TOMCAT5_USER" -cp "$JSVC_CLASSPATH" \
                    -outfile SYSLOG -errfile SYSLOG \
                    -pidfile "$CATALINA_PID" $JAVA_OPTS "$BOOTSTRAP_CLASS"

to

                $DAEMON -user "$TOMCAT5_USER" -cp "$JSVC_CLASSPATH" \
                    -outfile $CATALINA_BASE/logs/daemon.log -errfile  
$CATALINA_BASE/logs/daemon-error.log \
                    -pidfile "$CATALINA_PID" $JAVA_OPTS "$BOOTSTRAP_CLASS"

A full solution would have support for date based log files and updates
to logrotate.

Ubuntu is Desktop 8.04 at the latest maintenance level.

dpkg-query -W tomcat5.5
tomcat5.5       5.5.25-5ubuntu1.1

** Affects: tomcat5.5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
tomcat cannot configure use of syslog
https://bugs.launchpad.net/bugs/277508
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to