[prev in list] [next in list] [prev in thread] [next in thread]
List: dovecot
Subject: [Dovecot] Dovecot logs to syslog (other than MAIL)?
From: udo.rader () bestsolution ! at (Udo Rader)
Date: 2005-11-23 18:19:14
Message-ID: 1132762742.6711.10.camel () localhost
[Download RAW message or body]
Am Mittwoch, den 23.11.2005, 17:08 +0100 schrieb Remy Zandwijk:
> >> I see in the config file where I can enable syslog, but then all logging
> >> goes to the MAIL facility. I could find no reference to changing the
> >> facility:level for syslogging. Is that implemented, or planned?
>
> I have this in my 'How to build' guide:
>
> By default, Dovecot does his logging to the 'LOG_MAIL' facility.
> Since this facility is allready being used by Sendmail, Dovecot
> needs to be instructed to use another facility.
>
> To find all source files in which LOG_MAIL is used, start the
> command (in the root source tree):
>
> find . -type f | xargs -I{} egrep -l LOG_MAIL {}
>
> This will produce a list of files, which contain 'LOG_MAIL'. Edit
> these files and change 'LOG_MAIL' to 'LOG_LOCAL1'.
>
> So logging is done to the local1 facility.
>
>
> -Remy
I am doing something similar, but I am replacing the facilities on the
fly:
% find . -type f | xargs -I{} sed -i -e "s/LOG_MAIL/LOG_LOCAL7/g" {}
happy hacking
Udo Rader
--
BestSolution.at EDV Systemhaus GmbH
http://www.bestsolution.at
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic