You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Johan Martinez <jm...@gmail.com> on 2010/07/11 21:05:11 UTC

webapp and java package specific syslog appender configuration

Hi,

I have a log4j configured for webapps running in tomcat 5.5.28 using
FilenameAppender. The logging configured such that log4j writes to different
files based on webapp and package name, e.g.: webapp1-axis.log,
webapp1-hibernate.log etc..

I am not sure how to implement above configuration using Syslog appender. I
was wondering if I could use facilities and/or filters for this e.g. write
to different files based on webapp name and package name. I am planning to
have a separate server for syslog/syslog-ng. Any thoughts on how o implement
this? Things to consider etc..?

Thanks,
jM.