Using syslog-ng to for application logging
Hi, i wanna use syslog-ng to receive log-data from my application. Currently i'm logging into a file and use logrote to control it's size.
Now i wanna send log-data from my (realtime)app to syslog-ng directly and distribute it there (to file and to a printer)
So my question:
What is the best way to send (input)data from a local application to syslog-ng ?
Just giving the old logfile does not do the trick (syslog-ng does not recognice the updates)
Using syslog-ng v2.04
Thanks
Robert
|