Hello!
I'm using slapd (version 2.2.6) with a custom backend. I've tried to implement a feature to change the trace level triggered by some events. I used the following piece of code to do this (found it originally in log.c):
-- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc OpenLDAP Core Team http://www.openldap.org/project/