Enhancement #1835

LDAP: change default loglevel

Added by Giacomo Sanchietti over 8 years ago. Updated about 8 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v6.4-beta1
Resolution: NEEDINFO:

Description

The default loglovel for slapd is 256. With this level slapd will flood the /var/log/messages causing below error:

Apr  2 09:53:52 nethservice rsyslogd-2177: imuxsock begins to drop messages from pid 1694 due to rate-limiting

We should change slapd loglevel to none.
From the online documentation:

loglevel none
Log those messages that are logged regardless of the configured loglevel. This differs from setting the log level to 0, when no logging occurs. At least the None level is required to have high priority messages logged.

Associated revisions

Revision 64dae1ad
Added by Giacomo Sanchietti over 8 years ago

/etc/sysconfig/ldap template, db defaults: change default LogLevel to 0. Refs #1835

History

#1 Updated by Giacomo Sanchietti over 8 years ago

  • Status changed from NEW to MODIFIED
  • % Done changed from 0 to 100

The right log level to use is 0. It seems that none level is not honored.

Added two properties to slapd db key:
  • LogLevel: default to 0
  • options: default is empty, used to add special command line options to slapd daemon

#2 Updated by Davide Principi about 8 years ago

  • Status changed from MODIFIED to CLOSED

Also available in: Atom PDF