Добрый день. I use mail_log_prefix: %p: %r: %Us(%u): result: dovecot: 11802: 10.0.0.1: POP3([EMAIL PROTECTED]): Disconnected: Logged out top=0/0, retr=2/133234, del=2/2, size=133196
В сообщении от Thursday 31 July 2008 14:20:39 Heiko Schlichting написал(а): > Hi, > > LOG_NDELAY is the only option for openlog() in dovecot 1.1.2. > Wouldn't be > LOG_NDELAY|LOG_PID as option parameter much more useful? > Without logging > the pid, it is impossible to match 'Disconnected' log entries and the > corresponding session start/login. Therefore I suggest to use > > LOG_NDELAY|LOG_PID > > in the options of i_set_failure_syslog() at all 6 occurrences which passes > it to openlog(). > > I know that it is possible to > - use logging to file > - patch it myself > but I can't see good reasons in not using LOG_PID here. As far as I know, > most other programs specify LOG_PID. > > Without LOG_PID: > Jul 31 10:21:08 name dovecot: IMAP(hsg): Disconnected: Logged out > bytes=28/242 > > With LOG_PID: > Jul 31 10:21:08 name dovecot[17016]: IMAP(hsg): Disconnected: Logged out > bytes=28/242 > > Heiko > > Heiko Schlichting Freie Universität Berlin > [EMAIL PROTECTED] Zentraleinrichtung für Datenverarbeitung (ZEDAT) > Telefon +49 30 838-54327 Fabeckstraße 32 > Telefax +49 30 838454327 14195 Berlin -- С уважением, Алексей Горбов ЦПД ТЦ ОАО "ВолгаТелеком" [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part.