mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-30 01:00:18 +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:
@@ -18,6 +18,8 @@
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
|
||||
#include <syslog.h>
|
||||
|
||||
#include <rdapplication.h>
|
||||
#include <rdcart.h>
|
||||
#include <rduser.h>
|
||||
@@ -180,9 +182,8 @@ void MainObject::RunLocalMacros(RDMacro *rml)
|
||||
return;
|
||||
}
|
||||
else {
|
||||
LogLine(RDConfig::LogWarning,QString().
|
||||
sprintf("unable to handle RS macro for deck %d: device busy",
|
||||
chan));
|
||||
syslog(LOG_WARNING,"unable to handle RS macro for deck %d: device busy",
|
||||
chan);
|
||||
if(rml->echoRequested()) {
|
||||
rml->acknowledge(false);
|
||||
rda->ripc()->sendRml(rml);
|
||||
|
||||
Reference in New Issue
Block a user