Hi, I was recently looking at our logs and trying to figure out what an appropriate logging level is for a stable, production system.
What I would really like is a log (or logs) that contain: - the request made - the client (IP) that made the request - how much time it took to answer the request - any errors, with LDAP error codes including errors with configs - syncrepl info, eg: "sync completed added 2 entries, changed 4"
The current log level scheme doesn't seem to support that. (Please correct me if I'm wrong.) I guess I am looking for something more like Apache's logging (access/request log and an error log).
While openldap uses syslog, there is no mention of it supporting "debug/info/error/warn" type of log differentiation.
Is it possible to do all of the above "today"? If not, is it "on the plan"?
Is there any plan to move away from using syslog? Or at least, make it configurable which syslog facility to use? (Not having "local4" hardcoded.)
Any comments would be appreciated.
TIA! Craig