Re: When does logpurge run ?

2017-09-05 Thread Quanah Gibson-Mount
--On Wednesday, September 06, 2017 1:00 AM + ping-shin ching 
 wrote:





I have the "logpurge  " 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 when the slapd process was started.


--Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:





Re: When does logpurge run ?

2017-09-05 Thread ping-shin ching
I have the "logpurge  " 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  on behalf of 
Dieter Klünter 
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 +
schrieb ping-shin ching :

> 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



Re: When does logpurge run ?

2017-09-05 Thread Dieter Klünter
Am Tue, 5 Sep 2017 05:33:55 +
schrieb ping-shin ching :

> 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