From: John Kohl Date: Tue, 1 May 1990 16:48:05 +0000 (+0000) Subject: log when shutdown X-Git-Tag: krb5-1.0-alpha2~755 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=00aa1472dcab38bf0857e47c419505bde21251b7;p=krb5.git log when shutdown log to local6 for now git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@641 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/main.c b/src/kdc/main.c index 3f24d03a6..86cd5792e 100644 --- a/src/kdc/main.c +++ b/src/kdc/main.c @@ -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); }