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

Re: openldap+syslog question



If I may, a better choice would be:

local4.*    -/var/log/ldap

If supported by your syslog, the '-' tells it not to sync after each
write operation.  This will make a HUGE difference if you're logging
alot.

Carl Litt
Network Administrator
Execulink Internet


----- Original Message -----
From: "Brian Jones" <jonesy@CS.Princeton.EDU>
To: "Kelly Sauke" <ksauke@fastenal.com>; "Quanah Gibson-Mount"
<quanah@stanford.edu>
Cc: <openldap-software@OpenLDAP.org>
Sent: Friday, May 09, 2003 1:09 PM
Subject: Re: openldap+syslog question


> It might help others to know what that line was. :)
>
> Considering that OpenLDAP reports to LOCAL_4, adding a line like this:
>
> local4.*    /var/log/ldap
>
> should work fine. Of course, I think you have to restart syslog and/or
slapd
> for the change to take affect.
>
>
>
>
> On 5/9/03 11:59 AM, "Kelly Sauke" <ksauke@fastenal.com> wrote:
>
> >
> > Quanah Gibson-Mount wrote:
> >
> >>
> >> Kelly,
> >>
> >> Logging to syslog works just fine for me.  In slapd.conf I simply
set:
> >> "loglevel 256"
> >>
> >> --Quanah
> >
> >
> > Another poster directed me towards adding a to my syslog.conf.
After I
> > added it, the logging worked just fine.  I'll play with the loglevel
as
> > you stated
> > to get the needed info.  Thanks everyone.
> >
> >
> > The line added to syslog.conf was:
> >
> > local4.debug
> > /var/log/openldap.log
> >
> > KS
> >
>
>
>