Hi!
How to write PIDs to syslog?

Example:
Sep 19 00:57:00 hostname dovecot: pop3-login: Login: user=< 
[email protected] >, method=PLAIN, rip=XXX.XXX.XXX.XXX, 
lip=XXX.XXX.XXX.XXX, mpid=14407, TLS, session=<6LYlcmYDAQC4reGs>
Sep 19 00:57:00 hostname dovecot: pop3( [email protected] ): 
Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 19 00:57:09 hostname exim[14423]: 2014-09-19 00:57:09 dovecot_login 
authenticator failed for s16010629.onlinehome-server.info (User) [82.165.16.9]: 
535 Incorrect authentication data (set_id=front)
Sep 19 00:57:09 hostname exim[14424]: 2014-09-19 00:57:09 dovecot_login 
authenticator failed for s16010629.onlinehome-server.info (User) [82.165.16.9]: 
535 Incorrect authentication data (set_id=front

I need it because i write all logs to postgresql and analyze them with Adiscon 
LogAnalyzer.

Perhaps, per-process logs entry with PID would be better.
  • Syslog PID Фадеев Виталий Львович

Reply via email to