[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: RE : Logging to syslog
Am Wed, 02 Feb 2011 21:35:38 +0100
schrieb John Espiro <john_espiro@yahoo.com>:
>
>
> On 2/2/2011 9:05 PM, Manuel Rodríguez Hernández wrote:
> >
> > John
> >
> > You have to configure syslog.conf file, most of the times is located
> > in /etc
> >
> > There, you have to add line something like that (just an example):
> >
> > local4.* -/var/log/my_ldap_erros.log
> >
> > Then reload syslog process
> >
> >
> > Manuel R.H.
> >
> Yep, got that... thanks. But where do I set the loglevel? My
> installation of openldap on ubuntu, doesn't have a slapd.conf.
Ubuntu uses cn=config, this database can be modified by means of ldap
protocol, you may use ldapmodify in order to modify the config database.
I have written a little perl script to modify loglevel it can be found
here:
http://pastebin.de/14489
-Dieter
--
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:DA147B05
53°37'09,95"N
10°08'02,42"E