<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 11/16/2011 06:01 AM, Mois&eacute;s Barba P&eacute;rez wrote:
    <blockquote
cite="mid:CAOgigOPmKr7WMJj2ukFx4HKcGGLNbKqwSMVSuRHFqLwd4ywVnQ@mail.gmail.com"
      type="cite">Hi,<br>
      <br>
      I would like to configure the errors, access and audit logs to
      rotate every day at 00:00, regardless of the current size of the
      log, I would like to rotate them in files of 100MB each one, and
      finally, not to limit the number of log files.<br>
      <br>
      The thing is:<br>
      <br>
      1.- To rotate every day at 00:00 I guess is:<br>
      nsslapd-accesslog-logrotationtime:1 -&gt; Each 1<br>
      nsslapd-accesslog-logrotationtimeunit: day -&gt; day<br>
      nsslapd-accesslog-logrotationsync-enable: on -&gt; do rotate at<br>
      nsslapd-accesslog-logrotationsynchour: 0 -&gt; hour 00<br>
      nsslapd-accesslog-logrotationsyncmin: 0 -&gt; minute 00<br>
      <br>
      2.- To rotate at log size:<br>
      nsslapd-accesslog-maxlogsize: 100 -&gt; rotate at size of 100MB<br>
      <br>
      3.- Not to limit the number of log files:<br>
      nsslapd-accesslog-logmaxdiskspace: -1 <br>
      <br>
      The question is about "nsslapd-accesslog-maxlogsperdir" because if
      you try to modify "nsslapd-accesslog-logmaxdiskspace" to -1 the
      dirsrv console say that the value is lower than
      "nsslapd-accesslog-maxlogsperdir". I can set the values using
      ldapmodify with a ldif file but... Can't I delete
      "nsslapd-accesslog-maxlogsperdir", set to null or something like
      that? Maybe "nsslapd-accesslog-logmaxdiskspace" value of -1 set
      the maxlogsperdir to undefined?<br>
      <br>
      I would than you if you clarify this to me.<br>
    </blockquote>
    Sounds like a console bug.&nbsp; Please file a bug.<br>
    <blockquote
cite="mid:CAOgigOPmKr7WMJj2ukFx4HKcGGLNbKqwSMVSuRHFqLwd4ywVnQ@mail.gmail.com"
      type="cite"><br>
      Regards,<br>
      Moses.<br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
389 users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>