https://bugs.openldap.org/show_bug.cgi?id=9731
Issue ID: 9731 Summary: startup messages still go to syslog when logfile-only is on Product: OpenLDAP Version: 2.6.0 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: quanah@openldap.org Target Milestone: ---
When setting logfile-only on, slapd still logs its startup message to syslog:
Oct 29 21:07:47 u18test slapd[18534]: @(#) $OpenLDAP: slapd 2.6.0 (Oct 29 2021 05:12:17) $#012#011openldap
This is useful information to have consolidated into the specified logfile. Note that:
617c62a3.16f03fdb 0x7f9325ed67c0 slapd starting
does make it to the logfile. However, it would be useful to have the build date and version in the specified logfile.
https://bugs.openldap.org/show_bug.cgi?id=9731
--- Comment #1 from Howard Chu hyc@openldap.org --- (In reply to Quanah Gibson-Mount from comment #0)
When setting logfile-only on, slapd still logs its startup message to syslog:
Oct 29 21:07:47 u18test slapd[18534]: @(#) $OpenLDAP: slapd 2.6.0 (Oct 29 2021 05:12:17) $#012#011openldap
Sure, it hasn't read the config yet.
This is useful information to have consolidated into the specified logfile. Note that:
617c62a3.16f03fdb 0x7f9325ed67c0 slapd starting
does make it to the logfile. However, it would be useful to have the build date and version in the specified logfile.
Or you could just run slapd -V to get it again.
https://bugs.openldap.org/show_bug.cgi?id=9731
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- (In reply to Howard Chu from comment #1)
Or you could just run slapd -V to get it again.
Not if you're only being given log files to work with. And slapd -V on its own would generally be a bad idea, I think you mean slapd -VVV.
https://bugs.openldap.org/show_bug.cgi?id=9731
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Target Milestone|--- |2.6.1 Assignee|bugs@openldap.org |hyc@openldap.org
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- Would be useful to tweak the slapd starting message to contain this information so it also ends up in the log file.
https://bugs.openldap.org/show_bug.cgi?id=9731
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.6.1 |2.6.2
https://bugs.openldap.org/show_bug.cgi?id=9731
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|hyc@openldap.org |bugs@openldap.org Target Milestone|2.6.2 |2.7.0