mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-13 08:05:55 +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:
@@ -19,6 +19,7 @@
|
||||
//
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <syslog.h>
|
||||
|
||||
#include <qtimer.h>
|
||||
|
||||
@@ -64,8 +65,8 @@ BtAdms4422::BtAdms4422(RDMatrix *matrix,QObject *parent)
|
||||
writeBlock(QString().sprintf("*%uUM0\r\n",BTADMS4422_UNIT_ID),7);
|
||||
}
|
||||
else {
|
||||
rda->config()->log("ripcd",RDConfig::LogWarning,
|
||||
"failed to open port \""+tty->port()+"\"");
|
||||
syslog(LOG_WARNING,"failed to open port \"%s\"",
|
||||
(const char *)tty->port().toUtf8());
|
||||
}
|
||||
}
|
||||
delete tty;
|
||||
|
||||
Reference in New Issue
Block a user