[syslog-ng] Example 3.4. Script to feed a growing logfile into syslog-ng
Carlos Carvalho
carlos at fisica.ufpr.br
Thu Jul 24 22:34:05 CEST 2008
Chris Pratt (pratt70 at gmail.com) wrote on 24 July 2008 16:10:
>Thanks for your suggestion. This is for Tomcat. Unfortunately I am
>stuck reading from the log because the syslog appender in the log4j
>version on our app does not capture stack traces while the file
>appenders do. In other cases we want to capture garbage collections
>which are only written to stdout.
Couldn't you redirect stdout >> fifo?
>I tried sending my file appends to
>/dev/log but that didn't work
Yes, doesn't work. I think I tried it myself once... Use the fifo and
the pipe source.
>Only my central log server runs syslog-ng.
Ah, the real reason finally :-) :-)
More information about the syslog-ng
mailing list