23 Nov
2005
23 Nov
'05
6:08 p.m.
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