[Dovecot] selective logging

Timo Sirainen tss at iki.fi
Thu Feb 15 17:01:41 UTC 2007


On Fri, 2007-02-09 at 17:42 +0000, T. Horsnell wrote:
> >From the wiki:
> 
> log_path =
>     Use this logfile instead of syslog(). /dev/stderr can be used if you want to use stderr for logging (ONLY /dev/stderr - otherwise it is closed). 
> (I dont understand the above references to the use of stderr)

Took a while for me to figure out what the ONLY thing meant. I changed
this now to:

# Log file to use for error messages, instead of sending them to syslog.
# /dev/stderr can be used to log into stderr.

Just ignore the stderr thing.

> info_log_path =
>     For informational messages, use this logfile instead of the default
> (What exactly is an informational message, and what is the default?)

Changed to:

# Log file to use for informational and debug messages.
# Default is the same as log_path.

Informational messages are mostly things like "user logged in", "user
logged out".

> Can I selectively suppress logging like:
> 
> Feb  5 11:52:15 ls1 imap(iamelel): File isn't in mbox format: /gfg0/iamelel//claudia/ligplot/NQ10/ligplot.bonds

Not really. Why do you have non-mbox files in the users' mail
directories?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070215/1fedb044/attachment.pgp 


More information about the dovecot mailing list