60
Parameter
Description
DefaultValue
week
Syntax
DirectoryString
Example
nsslapd-auditlog-logrotationtimeunit:day
3.1.31.nsslapd-auditlog-maxlogsize(AuditLogMaximumLogSize)
Thisattributesetsthemaximumauditlogsizeinmegabytes.Whenthisvalueisreached,the
auditlogisrotated.Thatmeanstheserverstartswritingloginformationtoanewlogfile.If
nsslapd-auditlog-maxlogsperdir
to
1
,theserverignoresthisattribute.
Whensettingamaximumlogsize,considerthetotalnumberoflogfilesthatcanbecreateddue
tologfilerotation.Also,rememberthattherearethreedifferentlogfiles(accesslog,auditlog,
anderrorlog)maintainedbytheDirectoryServer,eachofwhichconsumesdiskspace.
Comparetheseconsiderationstothetotalamountofdiskspacefortheauditlog.
Parameter
Description
EntryDN
cn=config
ValidRange
-1|1tothemaximum32bitintegervalue
(2147483647),whereavalueof-1meansthe
logfileisunlimitedinsize.
DefaultValue
100
Syntax
Integer
Example
nsslapd-auditlog-maxlogsize:50
3.1.32.nsslapd-auditlog-maxlogsperdir(AuditLogMaximum
NumberofLogFiles)
Thisattributesetsthetotalnumberofauditlogsthatcanbecontainedinthedirectorywherethe
auditlogisstored.Eachtimetheauditlogisrotated,anewlogfileiscreated.Whenthenumber
offilescontainedintheauditlogdirectoryexceedsthevaluestoredonthisattribute,thenthe
oldestversionofthelogfileisdeleted.Thedefaultis
1
log.Ifthisdefaultisaccepted,theserver
willnotrotatethelog,anditgrowsindefinitely.
Ifthevalueforthisattributeishigherthan
1
,thencheckthe
nsslapd-auditlog-logrotationtime
attributetoestablishwhetherlogrotationisspecified.If
the
nsslapd-auditlog-logrotationtime
attributehasavalueof
-1
,thenthereisnolog
rotation.SeeSection3.1.29,“nsslapd-auditlog-logrotationtime(AuditLogRotationTime)” for
moreinformation.
Parameter
Description
EntryDN
cn=config
Chapter2.CoreServerConfigurationReference
28