if (termprint)
fprintf(stderr, "%s", buf); /* XXX - other targets for logging */
else
- syslog(LOG_ALERT, buf);
+ syslog(LOG_WARNING, buf);
}
void Log_info(const char *logstring, ...)
if (termprint)
fprintf(stderr, "%s", buf); /* XXX - other targets for logging */
else
- syslog(LOG_ALERT, buf);
+ syslog(LOG_INFO, buf);
}
#ifdef DEBUG
if (termprint)
fprintf(stderr, "%s", buf); /* XXX - other targets for logging */
else
- syslog(LOG_INFO, buf);
+ syslog(LOG_DEBUG, buf);
}
#endif
if (termprint)
fprintf(stderr, "%s", buf); /* XXX - other targets for logging */
else
- syslog(LOG_INFO, buf);
+ syslog(LOG_CRIT, buf);
exit(1);
}