add support for logging to syslog (fixes #293), log exit on errors during daemonization, log config path on error, better variable names

This commit is contained in:
john30
2019-10-06 14:12:52 +02:00
parent 0c46fb57ff
commit fa977f45f4
3 changed files with 59 additions and 31 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ LogLevel getFacilityLogLevel(LogFacility facility);
/**
* Set the log file to use.
* @param filename the name of the log file to use.
* @param filename the name of the log file to use, or the empty string for syslog.
* @return true on success, false on error.
*/
bool setLogFile(const char* filename);