[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#3579) slapcat logs to user.debug, not local4.debug
quanah@stanford.edu wrote:
>Full_Name: Quanah Gibson-Mount
>Version: OpenLDAP 2.2.23
>OS: Solaris 8
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (171.66.182.82)
>
>
>I noticed that bdb_back_initialize messages kept showing up in my
>/var/log/syslog file, even though I have all local4 messages dumped to
>/var/log/ldap. Further investigations shows the messages only appeared on my
>master. Analysis shows that the user.debug messages are coming from slapcat.
>
>
The Debug() macros call syslog regardless of whether code is running in
server mode or tool mode, but none of the tools call openlog() so the
syslog options are never set. This is a bit surprising, IMO in tool mode
ldap_syslog should always be zero.
--
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support