[syslog-ng] syslog configuration

Kalin KOZHUHAROV kalin.kozhuharov at jp.adecco.com
Tue Jan 16 02:14:54 CET 2007


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 |


More information about the syslog-ng mailing list