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

Re: When does logpurge run ?



I have the "logpurge <age> <interval>" information.


                     logpurge 2+00:00 1+00:00
              would  specify that the log database should be scanned every day
              for old entries, and entries  older  than  two  days  should  be
              deleted.  When  using  a  log  database  that  supports  ordered
              indexing on generalizedTime attributes, specifying an  eq  index
              on  the  reqStart attribute will greatly benefit the performance

But when does the comparison and delete happen? 'Scanned every day' - at what time does the scan occur? 


From: openldap-technical <openldap-technical-bounces@openldap.org> on behalf of Dieter Klünter <dieter@dkluenter.de>
Sent: Tuesday, 5 September 2017 6:42 AM
To: openldap-technical@openldap.org
Subject: Re: When does logpurge run ?
 
Am Tue, 5 Sep 2017 05:33:55 +0000
schrieb ping-shin ching <ping_sc@hotmail.com>:

> Hi Folks,
>
>
> When does the logpurge (for accesslog)  run? Can we control the time
> this process runs?

You can control purging, see man slapo-accesslog(5)

-Dieter

--
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E