send them to stderr.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4244
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Sep 15 12:48:21 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * kpropd.c (PRS): Only report errors to syslog if the debug flag
+ is not set. (Otherwise, send them to stderr).
+
Thu Aug 4 15:15:00 1994 Tom Yu (tlyu@dragons-lair)
* configure.in:
/*
* If not in debug mode, switch com_err reporting to syslog
*/
- openlog("kpropd", LOG_PID | LOG_ODELAY, SYSLOG_CLASS);
- set_com_err_hook(kpropd_com_err_proc);
+ if (! debug) {
+ openlog("kpropd", LOG_PID | LOG_ODELAY, SYSLOG_CLASS);
+ set_com_err_hook(kpropd_com_err_proc);
+ }
/*
* Get my hostname, so we can construct my service name
*/