it would probably be easier to write a custom logger for the tomcat
logger, that sends the entire message, as it is to where you want it
Filip
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 faced and conquered a similar issue? Thanks in advance.
Chris
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]