Issue 9403 - add option to disable syslog logging or use custom syslog socket
Summary: add option to disable syslog logging or use custom syslog socket
Status: VERIFIED DUPLICATE of issue 6949
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.45
Hardware: All Linux
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-23 08:56 UTC by cvuillemez
Modified: 2022-05-12 15:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description cvuillemez 2020-11-23 08:56:04 UTC
For auditing purpose, I need to enable "stats" loglevel.
So on heavy load, slapd send lots of events to local syslog socket /dev/log, when compiled with LDAP_SYSLOG (on Debian / Ubuntu).

It worked fine on old systems with a simple syslog service.
But when upgrading on system with journald+syslog, CPU "overhead" becomes totally crazy.

It would be great to have an option at run time to completely disable syslog logging, or/and use a cutom socket, e.g. /run/systemd/journal/syslog to bypass journald service.
Comment 1 Quanah Gibson-Mount 2022-05-12 15:03:37 UTC

*** This issue has been marked as a duplicate of issue 6949 ***