[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How do I change the log level



Matt Burkhardt wrote:
This may be a really dump question - but

I want to change the log level to just stats or to none. However, I'm using the new cn=config style and all of the documentation mentions changing the slapd.conf file. How would I change it?

ldapmodify -Y external -H ldapi:/// <<EOF
dn: cn=config
changetype: modify
replace: olcLogLevel
# handles multiple values on one line, like "olcLogLevel: stats sync"
olcLogLevel: stats
EOF

Replace the ldapmodify command with however you connect to cn=config.

Mike