Just to update: by adding to cn=config :
olcLogLevel: Stats or loglevel 256 to slapd.conf and with -d 0 and no other change to rsyslog.conf nor to journal.conf I get all my connections, LDAP operations, results logged via syslog to /var/log/slapd/slapd.conf Thank you!!! On Thu, Sep 23, 2021 at 12:23 PM Quanah Gibson-Mount <[email protected]> wrote: > --On Thursday, September 23, 2021 6:45 PM +0200 Michael Ströder > <[email protected]> wrote: > > > Personally I have on my systems: > > > > In file /etc/systemd/journald.conf: > > > > [Journal] > > Storage=none > > ForwardToSyslog=yes > > > > In /etc/rsyslog.conf: > > > > $AddUnixListenSocket /dev/log > > > > And I start slapd with -d 0 and loglevel set. > > As a side note, I've encountered deadlocks on RHEL7 on extremely busy > systems when journald is integrated with syslog like this. It also has a > strong negative effect on performance. Whether the deadlock is RHEL7 > specific or not is unknown. > > When OpenLDAP 2.6 releases, syslog (and journald) can be bypassed entirely > and a purely local log file can be used, resulting in a significant > performance increase. > > --Quanah > > > -- > > Quanah Gibson-Mount > Product Architect > Symas Corporation > Packaged, certified, and supported LDAP solutions powered by OpenLDAP: > <http://www.symas.com> >
