[Date Prev][Date Next]
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) (22.214.171.124)
> 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
> 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
$ 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.