This attribute sets the minimum allowed free disk space in megabytes. When the amount of free disk
space falls below the value specified on this attribute, the oldest error log is deleted until enough disk
space is freed to satisfy this attribute.
Parameter Descript ion
Entry DN cn=config
Valid Range -1 (unlimited) | 1 to the maximum 32 bit integer
value (2147483647)
Default Value -1
Syntax Integer
Example nsslapd-errorlog-logminfreediskspace: -1
2.3.1.51. nsslapd- errorlog-logrot ationsync- enabled (Error Log Rot ation Sync Ena bled)
This attribute sets whether error log rotation is to be synchronized with a particular time of the day.
Synchronizing log rotation this way can generate log files at a specified time during a day, such as
midnight to midnight every day. This makes analysis of the log files much easier because they then map
directly to the calendar.
For error log rotation to be synchronized with time-of-day, this attribute must be enabled with the
nsslapd-errorlog-logrotationsynchour and nsslapd-errorlog-logrotationsyncmin attribute
values set to the hour and minute of the day for rotating log files.
For example, to rotate error log files every day at midnight, enable this attribute by setting its value to on,
and then set the values of the nsslapd-errorlog-logrotationsynchour and nsslapd-errorlog-
logrotationsyncmin attributes to 0.
Parameter Descript ion
Entry DN cn=config
Valid Values on | off
Default Value off
Syntax DirectoryString
Example nsslapd-errorlog-logrotationsync-enabled: on
2.3.1.52. nsslapd- errorlog-logrot ationsynchour (Error Log Rotat ion Sync Hour)
This attribute sets the hour of the day for rotating error logs. This attribute must be used in conjunction
with nsslapd-errorlog-logrotationsync-enabled and nsslapd-errorlog-logrotationsyncmin
attributes.
Parameter Descript ion
Entry DN cn=config
Valid Range 0 through 23
Default Value 0
Syntax Integer
Example nsslapd-errorlog-logrotationsynchour: 23
2.3.1.53. nsslapd-errorlog-logrotationsyncmin (Error Log Rotat ion Sync Minute)
This attribute sets the minute of the day for rotating error logs. T his attribute must be used in
conjunction with nsslapd-errorlog-logrotationsync-enabled and nsslapd-errorlog-
logrotationsynchour attributes.
Parameter Descript ion
Entry DN cn=config
Valid Range 0 through 59
Default Value 0
Syntax Integer
Example nsslapd-errorlog-logrotationsyncmin: 30
2.3.1.54 . nsslapd- errorlog-logrot ationt ime (Error Log Rotat ion T ime)
This attribute sets the time between error log file rotations. The error log is rotated when this time
interval is up, regardless of the current size of the error log. This attribute supplies only the number of
units. The units (day, week, month, and so forth) are given by the nsslapd-errorlog-
logrotationtimeunit (Error Log Rotation Time Unit) attribute.
Although it is not recommended for performance reasons to specify no log rotation, as the log grows
indefinitely, there are two ways of specifying this. Either set the nsslapd-errorlog-maxlogsperdir
Comentários a estes Manuais