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

Re: log file under unix

""Puneet S. Walia"" <waliaspuneet@hotmail.com> wrote...
> I'm testing openldap 2.0 ,ldap ver3 under  unix . I would like to know
> where is stored the log file when I use the loglevel directive in my
> slapd.conf file.

the location of your logfile is specified in /etc/syslog.conf
there should be a line "local4.* /path/to/logfile"

> I have specified the loglevel in the slapd.conf , do i
> have to create the ldap.log file in the specified /var/log directory or it
> is dynamically created

you _have to_ create the logfile _before_ you refresh (or restart) syslogd.