|MithiWiki Home > ConnectXf Home > ConnectXf Administration > Configuration > How to check the LDAP log level|
Check LDAP Log levels for Xf version less than 3.10
Check ldap log level; it should be 0 (If log level is specified the behaviour is undefined)
For RHEL 6 grep loglevel /etc/openldap/slapd.conf
For RHEL 4 grep loglevel /opt/symas/etc/openldap/slapd.conf
Check LDAP Log levels for Xf version 3.10+
The default log level is set to 49152. This is a combination of loglevels 16384 & 32768 which are for ldap replication and critical errors respectively. The amount of log is less with these levels. Also the ldap log rotation is changed to 1 hour instead of 1 day so the performance impact is minimal. Still if there is a performance problem, we can disable the replication log and keep only the log for critical errors, i.e set the loglevel to 32768. We do not want to set loglevel to 0 for ldap because if there is any ldap service problem, we will not get any information about the problem that has happened. We need to wait till the problem happens again which slows down response to customer.