mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
ITS#3677 use LDAP_DEBUG_ANY when logging the shutdown reason
This commit is contained in:
parent
cd1bdf99e2
commit
e3b66a409d
1 changed files with 4 additions and 4 deletions
|
|
@ -1982,22 +1982,22 @@ slapd_daemon_task(
|
|||
}
|
||||
|
||||
if( slapd_shutdown == 1 ) {
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"daemon: shutdown requested and initiated.\n",
|
||||
0, 0, 0 );
|
||||
|
||||
} else if ( slapd_shutdown == 2 ) {
|
||||
#ifdef HAVE_NT_SERVICE_MANAGER
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"daemon: shutdown initiated by Service Manager.\n",
|
||||
0, 0, 0);
|
||||
#else /* !HAVE_NT_SERVICE_MANAGER */
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"daemon: abnormal condition, shutdown initiated.\n",
|
||||
0, 0, 0 );
|
||||
#endif /* !HAVE_NT_SERVICE_MANAGER */
|
||||
} else {
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"daemon: no active streams, shutdown initiated.\n",
|
||||
0, 0, 0 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue