Bug 1324248

Summary: [rfe] Multiple log backends now avaliable in DS
Product: Red Hat Directory Server Reporter: wibrown <wibrown>
Component: DocumentationAssignee: Tomas Capek <tcapek>
Status: CLOSED DEFERRED QA Contact: Viktor Ashirov <vashirov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0CC: nhosoi, nkinder, rhel-docs, rmeggins
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-12 21:44:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description wibrown@redhat.com 2016-04-06 00:43:45 UTC
Document URL: 

Administration guide
Command and configuration guide


Describe the issue: 

1.3.5 is now able to host multiple logging backends. This is controlled by the value in cn=config, nsslapd-logging-backend. Invalid values to this are ignored. Valid values are:

dirsrv-log
syslog
journald


Log events (regardless of activation) will be logged to subsystems in this order:

dirsrv-log
syslog
journald.

This is so that the highly reliable dirsrv-log backend is guaranteed to get the message first, followed by the remaining backends. 

There are some warnings about journald specifically that we MUST document. See this comment: https://fedorahosted.org/389/ticket/47968#comment:9

However the summary:

Use of journald will cause:


    Background consumes +15% cpu on an i7 system.
    Consumes 1200MB / hour for access / error logs.
    Consumes 1740MB / hour for audit logs. 

Additionally, Journald logs are hardcoded maximum to 4GB, which means at a busy site, ~3 hours or LESS of logs can be stored before the entire journal is rotated and logs lost! 

As well, journald rate limits busy inputs, and will drop ~85% of all slapd events without reconfiguration to prevent this.


https://fedorahosted.org/389/ticket/47968

Comment 1 wibrown@redhat.com 2016-04-12 21:44:26 UTC
Please do not document this: We have decided not to support this in RH in the next release.