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

Re: OpenLDAP not logging



On Tue, 4 Jan 2005, JD wrote:

> > > Set local4.* /var/log/ldap.log in /etc/syslog.conf (rebooted)
> > >
> > > Still, I get no logging:
> > >
> > > # ls -al /var/log/ldap.log
> > > -rw-------  1 ldap  ldap  0 Jan  3 04:35 /var/log/ldap.log
> > >
> > > I'd appreciate your suggestions...
> >
> >Try using a program match instead. Remove your local4 line and put this at
> >the bottom of your syslog.conf, then killall -HUP syslogd:
> >
> >!slapd
> >*.*                     /var/log/ldap.log
>
> Yes, it works now, thank you!
>
> Just wondering: Is this a bug in OpenLDAP or in syslogd?

There isn't enough information to tell from your report ... I don't think
the FreeBSD port changes the default syslog facility.  It could have been
a syntax error, or the logfile wasn't created when syslog (re)started.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org