]> git.sur5r.net Git - openldap/commitdiff
ITS#3677 use LDAP_DEBUG_ANY when logging the shutdown reason
authorHoward Chu <hyc@openldap.org>
Sat, 23 Apr 2005 15:55:26 +0000 (15:55 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 23 Apr 2005 15:55:26 +0000 (15:55 +0000)
servers/slapd/daemon.c

index 2893a905f90c1f05de7eb85f2332dd0cd2605439..53819525aa7aee15f56e69fedce1996d6496239b 100644 (file)
@@ -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 );
        }