Tomcat to syslog

2008-06-13 Thread Chris Pratt
Hi all,

Have a vanilla tomcat  coherence instance logging to local files--
CATALINA_BASE/logs and CACHE/logs.  I am implementing a central
logserver and want to get these into the syslog.

I tried:  tail -f [file log] | logger -p local#.info

but this resulted in each wrapped line occurring as a new syslog
message.

The tomcat and coherence events are rather long and can include stack
traces.  I want to keep the entirety of their events as a single message
event in syslog.

Has anyone got tomcat logging to syslog correctly?  Thanks in advance.

Chris

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat to syslog

2008-06-13 Thread Filip Hanik - Dev Lists

you already posted this once

Chris Pratt wrote:

Hi all,

Have a vanilla tomcat  coherence instance logging to local files--
CATALINA_BASE/logs and CACHE/logs.  I am implementing a central
logserver and want to get these into the syslog.

I tried:  tail -f [file log] | logger -p local#.info

but this resulted in each wrapped line occurring as a new syslog
message.

The tomcat and coherence events are rather long and can include stack
traces.  I want to keep the entirety of their events as a single message
event in syslog.

Has anyone got tomcat logging to syslog correctly?  Thanks in advance.

Chris

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]