[exim] wishlist: log_selector for PID

Etusivu
Poista viesti
Vastaa
Lähettäjä: Heiko Schlittermann
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] wishlist: log_selector for PID
Hello,

sometimes I'd like to see log messages grouped by the process id from
the exim process handling the connection:

2006-11-08 17:10:09 H=www.mexem.com.pl [195.94.216.194] sender verify fail for <Sisongkham@???>: Unrouteable address
2006-11-08 17:10:09 H=www.mexem.com.pl [195.94.216.194] F=<Sisongkham@???> rejected RCPT <info@???>: Sender verify
failed 2006-11-08 17:10:10 unexpected disconnection while reading SMTP command from www.mexem.com.pl [195.94.216.194]

Here it's quite obvious that it's the same process, but it's not always
this way in subsequent lines.

As far as I understand on exim process is handling only one message at
one time, isn't it?

If each log line could have some pid=4711 (or whatever the key is named)
it could help to reproduce what happend with sessions if they didn't get
the 'spool id' assigned yet.

I'm not sure if I expressed myself clearly.?


    Best regards from Dresden
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -