defaulting to syslog because nothing else was specified
(klog_vsyslog): enable VERBOSE_LOGS so we get the process name and
pid [krb5-kdc/63]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9179
dc483132-0cff-0310-8789-
dd5450dbe970
+Tue Oct 15 18:01:51 1996 Barry Jaspan <bjaspan@mit.edu>
+
+ * logger.c (krb5_klog_init): remember to call openlog() when
+ defaulting to syslog because nothing else was specified
+ (klog_vsyslog): enable VERBOSE_LOGS so we get the process name and
+ pid [krb5-kdc/63]
+
Thu Sep 26 17:45:18 1996 Barry Jaspan <bjaspan@mit.edu>
* alt_prof.c: don't allow admin_dbname or admin_lockfile to be
#if !defined(_MSDOS)
+/* KADM5 wants non-syslog log files to contain syslog-like entries */
+#define VERBOSE_LOGS
+
/*
* logger.c - Handle logging functions for those who want it.
*/
log_control.log_entries = &def_log_entry;
log_control.log_entries->log_type = K_LOG_SYSLOG;
log_control.log_entries->log_2free = (krb5_pointer) NULL;
- log_control.log_entries->lsu_facility = LOG_AUTH;
+ log_facility = log_control.log_entries->lsu_facility = LOG_AUTH;
log_control.log_entries->lsu_severity = LOG_ERR;
+ do_openlog = 1;
log_control.log_nentries = 1;
}
if (log_control.log_nentries) {