Re: [389-users] Log rotate question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/16/2011 06:01 AM, Moisés Barba Pérez wrote:
Hi,

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.

The thing is:

1.- To rotate every day at 00:00 I guess is:
nsslapd-accesslog-logrotationtime:1 -> Each 1
nsslapd-accesslog-logrotationtimeunit: day -> day
nsslapd-accesslog-logrotationsync-enable: on -> do rotate at
nsslapd-accesslog-logrotationsynchour: 0 -> hour 00
nsslapd-accesslog-logrotationsyncmin: 0 -> minute 00

2.- To rotate at log size:
nsslapd-accesslog-maxlogsize: 100 -> rotate at size of 100MB

3.- Not to limit the number of log files:
nsslapd-accesslog-logmaxdiskspace: -1

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?

I would than you if you clarify this to me.
Sounds like a console bug.  Please file a bug.

Regards,
Moses.
-- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux