Bug 1324248 - [rfe] Multiple log backends now avaliable in DS
Summary: [rfe] Multiple log backends now avaliable in DS
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: Documentation
Version: 10.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Tomas Capek
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-06 00:43 UTC by wibrown@redhat.com
Modified: 2016-04-12 21:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-12 21:44:26 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.