16 Jan
2007
16 Jan
'07
1:14 a.m.
jawed abbasi wrote:
Hi
I am wondering if there is a way to config syslog-ng so that
* it receives data from multiple processes running on the same source hosts and writting top the same port, without using (facility or severity levels) and still syslog writes a separate logfile for each process?
Yes, it depends.
for example:
HOST A runs all follwing processes which all write to same port 908
proces A process b process c
but different log files are created for each process.
If you can distinguish the output of each process, syslog-ng can also (via regex). A simple way to do that is to include PID in each MSG (a very common approach in non-Windoze world). Kalin. -- | A | | D | | J | | P |