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

RE: Implementing LDAP logging

Thanks for the reply.

I think for log rotation we need to specify the rotation policies for ldaplog file in /etc/logadm.conf.

I am currently trying this out and if it worked then will let you know.

Rahul Manchanda 
Andes , Selfcare Platform Build Team 
tel:   (+91) (20) 66018100 extn: 6178;   e-mail:   rahul.manchanda@bt.com
Address:   Tech Mahindra, Sharada Center, Erandwana Pune-4 

-----Original Message-----
From: openldap-technical-bounces+rahul.manchanda=bt.com@OpenLDAP.org [mailto:openldap-technical-bounces+rahul.manchanda=bt.com@OpenLDAP.org] On Behalf Of Buchan Milne
Sent: Thursday, April 22, 2010 10:01 AM
To: Manchanda,RK,Rahul,DKE C
Cc: openldap-technical@openldap.org
Subject: Re: Implementing LDAP logging

On Thursday, 22 April 2010 09:39:01 rahul.manchanda@bt.com wrote:
> Many Thanks for the suggestions.
> I have one more doubt:
> As syslog get rotated automatically,


Not all syslog implementations automatically rotate files. You haven't specified 
which one you are using ...

> will the ldaplog file will get rotated
>  automatically after specifying the below line in syslog.conf?

Probably not.

>  Or shall I
>  have specify anything to get this log rotation in place.

How are your other logs rotated? By logrotate (e.g. see /etc/logrotate.d)? If 
so, you should ensure that your logrotate utility is configured to rotate this 
log as well.

However, this doesn't really have anything to do with OpenLDAP per se.

> Local4.debug  /var/log/ldap/log