[syslog-ng] syslog configuration
jawed abbasi
jabbasi at yahoo.com
Tue Jan 16 03:04:48 CET 2007
hi kalin
not sure what you mean include pid? how to add pid in msg?
can you give me an example
thanks
Kalin KOZHUHAROV <kalin.kozhuharov at jp.adecco.com> wrote: 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 |
_______________________________________________
syslog-ng maillist - syslog-ng at lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
---------------------------------
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070115/6f4c7796/attachment.htm
More information about the syslog-ng
mailing list