[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6659) logfile directive not logging any log



> Full_Name: Soichi Hayashi
> Version: 2.3.43-12.el5_5.2
> OS: RHEL5
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (99.50.225.74)
>
>
> I have following in my slapd.conf
>
> logfile /var/log/ldap.log
>
> When I start slapd, it creates the file specified but the filesize remains
> 0
> although I see a lot of log sent to syslog.
>
> It looks like the logging through "logfile" directive is not working.

According to the documentation, this directive collects messages that are
sent to stderr when "-d" is used, so it is not related to syslog.  It is
equivalent to

$ slapd -d <level> >>/var/log/ldap.log 2>&1

I've checked recent code and it works as expected.  Unless this is what
you're expecting, and it does not happen, this ITS will be closed.

p.