9 Apr
2009
9 Apr
'09
2:57 p.m.
On 4/9/2009 7:46 AM, Sahil Tandon wrote:
I like this idea (of splitting the logging)...
As do I and many others.
You could do this with syslog(-ng), or you could just specify the log_path and info_log_path variables in dovecot.conf. For example, in my protocol lda {} declaration, I have:
log_path = /var/log/deliver.log info_log_path = /var/log/deliver.log
Read the documentation and try something similar: http://wiki.dovecot.org/Logging
Doesn't specifically mention separating out POP and IMAP... but...
Extrapolating from your example, I can I just:
protocol imap { ... log_path = /var/log/imap.log info_log_path = /var/log/imap.log } protocol pop3 { ... log_path = /var/log/pop3.log info_log_path = /var/log/pop3.log }
?
Thanks!
--
Best regards,
Charles