mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 15:45:59 +01:00
2019-06-17 Fred Gleason <fredg@paravelsystems.com>
* Refactored logging system to use syslog(3) exclusively. * Removed the 'Facility=', 'LogDirectory=', 'CoreDumpDirectory=' and 'LogPattern=' directives from rd.conf(5).
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <syslog.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
@@ -128,7 +129,7 @@ MainObject::MainObject(QObject *parent)
|
||||
svc_maint_timer->start(interval);
|
||||
}
|
||||
else {
|
||||
rda->log(RDConfig::LogInfo,"maintenance checks disabled on this host!");
|
||||
syslog(LOG_INFO,"maintenance checks disabled on this host");
|
||||
}
|
||||
|
||||
if(!RDWritePid(RD_PID_DIR,"rdservice.pid",getuid())) {
|
||||
|
||||
Reference in New Issue
Block a user