hi kalin<br><br>not sure what you mean include pid? how to add pid in msg?<br>can you give me an example<br><br>thanks<br><br><b><i>Kalin KOZHUHAROV <kalin.kozhuharov@jp.adecco.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> jawed abbasi wrote:<br>> Hi<br>> <br>> I am wondering if there is a way to config syslog-ng so that<br>> <br>> * it receives data from multiple processes running on the same source<br>> hosts and writting top the same port, without using (facility or<br>> severity levels) and still syslog writes a separate logfile for each<br>> process?<br>> <br>Yes, it depends.<br><br>> for example:<br>> <br>> HOST A runs all follwing processes which all write to same port 908<br>> <br>> proces A<br>> process b<br>> process c<br>> <br>> but different log files are created for each process.<br><br>If you can distinguish
the output of each process, syslog-ng can also<br>(via regex). A simple way to do that is to include PID in each MSG (a<br>very common approach in non-Windoze world).<br><br>Kalin.<br><br>-- <br>| A |<br>| D |<br>| J |<br>| P |<br>_______________________________________________<br>syslog-ng maillist - syslog-ng@lists.balabit.hu<br>https://lists.balabit.hu/mailman/listinfo/syslog-ng<br>Frequently asked questions at http://www.campin.net/syslog-ng/faq.html<br><br></blockquote><br><p> 
<hr size=1>It's here! Your new message!<br>Get
<a href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/"> new email alerts</a> with the free <a href="
http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">Yahoo! Toolbar.</a>