8 Jan
2008
8 Jan
'08
5:57 p.m.
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