#include "main.h"
#include "conf.h"
#include "logging.h"
-#include "version.h"
#include "mkdirpp.h"
#include "util.h"
#else
system_log = 1;
openlog("chronyd", LOG_PID, LOG_DAEMON);
- LOG(LOGS_INFO, LOGF_Logging, "chronyd version %s starting", PROGRAM_VERSION_STRING);
#endif
}
LOG_OpenSystemLog();
}
+ LOG(LOGS_INFO, LOGF_Main, "chronyd version %s starting", PROGRAM_VERSION_STRING);
+
/* Check whether another chronyd may already be running. Do this after
* forking, so that message logging goes to the right place (i.e. syslog), in
* case this chronyd is being run from a boot script. */