[Dovecot] Reduce logging auth-worker

Reindl Harald h.reindl at thelounge.net
Sat Mar 23 11:57:22 EET 2013



Am 23.03.2013 08:13, schrieb Noel Butler:
> On Sat, 2013-03-23 at 03:28 +0100, Reindl Harald wrote:
>> maybe you should explain why not using syslog as
>> everybody else 
> 
> Why do you think you speak for everybody else? Because you sure as hell
> don't, so stop pretending to. WTF is in the air this week, it seems to 
> contain a few self proclaimed god's who apparently know what everyone else
> does, or, at least thought they did

blablablanla

> I too have always used dovecot logging to specific files for over a
> decade, I know plenty of others too

maybe you should RTFM, this is nothing you can't do easily
with rsyslog and much more felxible as with any program option

# systemd-logind not in /var/log/messages
:programname, isequal, "systemd-logind"             -/var/log/secure
:programname, isequal, "systemd-logind" ~

# log dhcpd in own file
:programname, isequal, "dhcpd"                      -/var/log/dhcpd.log
:programname, isequal, "dhcpd" ~
:programname, isequal, "vmnet-dhcpd"                -/var/log/dhcpd.log
:programname, isequal, "vmnet-dhcpd" ~

# log hostapd in own file
:programname, isequal, "hostapd"                    -/var/log/hostapd.log
:programname, isequal, "hostapd" ~


> Anyone who knows anything about syslog on large production servers knows
> avoiding it is best practice, it's also about the only thing DJB and I
> ever agreed on

blablablanla

in large environments you even have your syslogd logging on a remote
machine for auditing and security reasons

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130323/6ed69d73/attachment.bin>


More information about the dovecot mailing list