[Dovecot] logfile consistency

"Andraž 'ruskie' Levstik" ruskie at mages.ath.cx
Tue Apr 3 22:12:46 EEST 2007


On 19:52:38 2007-04-03 David Jonas <djonas at vitalwerks.com> wrote:
> David Lee wrote:
> > We do some routine logfile (syslog) gathering and analysis.  I've been
> > looking at extending this to parse the syslog output of dovecot.
> > Hmmm... ...
> > For instance:
> > 1. All lines, including the "deliver", to begin "dovecot:";
> > 2. The "IMAP(uuuu): Disconnected" to become "imap: disconnected
> > user=<uuuu>"; ...
> > Overall this would make it more consistently amenable to perl-like
> > pattern processing, at least with a reasonably hierarchical structure
> > to the messages.  Perhaps something like:
> > 
> >   dovecot: subprogram: event, key1=value1, key2=value2 ...
> > 
> > where:
> >    "subprogram" is "{imap,pop,deliver,...}";
> >    "event" is "{login,disconnected, ...};
> >    and one of the "key=value" will usually be "user=<uuuu>".
> 
I acctually prefer the separate deliver and dovecot setup as it means I can
log to separate files... But I guess the above mentioned would still work
for me...



More information about the dovecot mailing list