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

Re: Cannot get "logpurge" to work





--On Monday, December 11, 2006 3:20 PM +1100 Dave Horsfall <daveh@ci.com.au> wrote:

On Mon, 11 Dec 2006, Dave Horsfall wrote:

> There are known bugs with logpurge in that version, I'd advise
> upgrading. Get 2.3.30. ;)

Thanks; I've been waiting for 2.3.30 to be marked as STABLE, but I
haven't seen any issues with it lately.

Nope; still not purging, even with a 5-minute scan.

Well, it works perfectly for me...

My syntax is a bit different than yours though:

#######################################################################
# accesslog database definitions
#######################################################################
database    hdb
suffix      cn=accesslog
directory   /var/lib/ldap/accesslog
rootdn      cn=accesslog
index       default     eq
index       entryCSN
index       objectClass
index       reqEnd
index       reqResult
index       reqStart

....

#######################################################################
# stanford.edu database definitions
#######################################################################

database    hdb
suffix      "dc=stanford,dc=edu"
rootdn      "cn=manager,dc=stanford,dc=edu"

....


overlay accesslog logdb cn=accesslog logops writes logsuccess TRUE logpurge 07+00:00 01+00:00



In your example configuration, you didn't show the overlay bit being inside another database definition, but I assume it is...

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html