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

Re: OpenLDAP debugging



Il 11:49, mercoledì 12 dicembre 2001, Evaristo-Jose Camarero (ECE) ha scritto:
> Hi all:
>
> A newbie question:
>
> I have a Linux RH 7.1 with OpenLDAP 2.0.18. I'd like to put the debugging
> information in a file
>
> I start the server with:
>
> slapd -d -1 and all the debugging information goes to the terminal. How can
> I put it in a file?
>
> Thanks,

Edit file /etc/init.d/ldap and add this:
daemon ${slapd} $(echo -l LOCAL4)
so you force slapd to send log to level LOCAL4.
Then edit  /etc/syslog.conf and add:
LOCAL4.*                                                /var/log/ldap-all.log
That's all ;)
Francesco