- conf.log_dir = LOG_DIR;
+ conf.debug_level = debug_level; /* for debuggin during read_conf() */
- /* FIXME: fails if we run as user */
- logopen();
if (!read_conf(conf_file)) {
- logwrite(LOG_ALERT, "SHUTTING DOWN due to problems reading
config\n");
+ logwrite(LOG_ALERT, "SHUTTING DOWN due to problems reading "
+ "config\n");
exit(5);
}
- logclose();
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b0ffdec24bec7f947a4f45d2036d9ae8fe23b0da),
Vlad Glagolev, 11/18/2015