https://bugs.openldap.org/show_bug.cgi?id=10380

          Issue ID: 10380
           Summary: file logger doesn't emit slapd startup/version info
           Product: OpenLDAP
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: needs_review
          Severity: normal
          Priority: ---
         Component: slapd
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

When using syslog, a startup message is emitted which is useful in many
different contexts:
- signals a slapd restart to the admin
- shows the actual version used
- if a crash happened just before, there is no "stopped" message, this is a
hint to anyone looking that something was not right and the slapd is not the
same process
- people writing log processing scripts (incident response) know when it's
necessary to reset their state, again as it's a new process

Because of the above, it feels like a regression to me.

I guess we can just emit this info on logfile config handlers? This means
startups and logfile switches are still handled as they used to in syslog and
log rotation doesn't emit anything (making it easy and safe to just concatenate
files).

Yes, slapd logs its PID in most formats so restarts can be detected that way,
but that's considerably harder to search for.

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to