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

Re: Log file is not truncate



That's a unix administration problem and has nothing to do with LDAP
itself.  If your other log files are rotated, there is a script in
your system that does it.  Check the crontab for uid root and see if
you can find that script.  You'll need to add ldap.log to it, or
maybe even write your own script and add it to root's crontab.

Randy

> 
> 
> 
> my log file is not truncate and grow indefinitely.
> 
> i have been added in my syslog.conf this line :
> 
> local4.debug                                    /var/log/ldap.log
> 
> i have been restarted syslogd and configured slapd.conf with 'loglevel 256'
> 
> I work with openldap 2.0.4 on solaris 7 and I use Berkeley  ldbm  backends.
> 
> 
> why  ldap.log.0, ldap.log.1 ...., ldaplog.9 are not created ?
> 
> 
> Thank you for your time and assistance in solving this problem
> 
> 
>