[Dovecot] Logging to stderr

Abhijit Hoskeri abhijit at deeproot.co.in
Tue Jan 8 17:57:35 EET 2008


Hi,

I am having a bit of a problem with logging to stderr. 

I am trying to run dovecot as sort of "inetd" install using daemontools.
I have daemontools 'services' named dovecot-pop3, dovecot-imap, etc.

The service command line looks like

tcpsvd -c20 -v -l 0 0 110 /usr/lib/dovecot/pop3-login [--ssl]

In dovecot/dovecot.conf, the log_path is set to /dev/stderr.

What seems to be happening is that all the log lines (regardless of
service) go to the log file of which ever service was first used.

Exactly how are these logs written? Is it possible to (easily) make
the login process write to its own stderr? 

Thanks,

-Abhijit


More information about the dovecot mailing list