tomcat cannot configure use of syslog

Bug #277508 reported by Martin West
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tomcat5.5 (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

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

Thierry Carrez (ttx)
Changed in tomcat5.5:
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.