log when shutdown
authorJohn Kohl <jtkohl@mit.edu>
Tue, 1 May 1990 16:48:05 +0000 (16:48 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 1 May 1990 16:48:05 +0000 (16:48 +0000)
log to local6 for now

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@641 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/main.c

index 3f24d03a6436c4c1800be4be65409d0a3e770d72..86cd5792e80d8048030f6d61f96d5e41c240fd1e 100644 (file)
@@ -292,7 +292,7 @@ char *argv[];
 
     setup_signal_handlers();
 
-    openlog(argv[0], LOG_CONS|LOG_NDELAY, LOG_LOCAL0); /* XXX */
+    openlog(argv[0], LOG_CONS|LOG_NDELAY, LOG_LOCAL6); /* XXX */
     syslog(LOG_INFO, "commencing operation");
 
     if (retval = init_db(dbm_db_name, master_princ, &master_keyblock)) {
@@ -315,6 +315,7 @@ char *argv[];
        com_err(argv[0], retval, "while closing database");
        errout++;
     }
+    syslog(LOG_INFO, "shutting down");
     exit(errout);
 }