mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02:00
2021-08-03 Fred Gleason <fredg@paravelsystems.com>
* Added an error message to syslog if the 'Load Log' ['LL'] RML fails to find the specified log. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -22144,3 +22144,6 @@
|
|||||||
or editing.
|
or editing.
|
||||||
2021-08-03 Fred Gleason <fredg@paravelsystems.com>
|
2021-08-03 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Updated I18N translation data.
|
* Updated I18N translation data.
|
||||||
|
2021-08-03 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Added an error message to syslog if the 'Load Log' ['LL'] RML
|
||||||
|
fails to find the specified log.
|
||||||
|
@@ -119,6 +119,8 @@ void MainWidget::RunLocalMacros(RDMacro *rml)
|
|||||||
else { // Load Log
|
else { // Load Log
|
||||||
logname=rml->arg(1);
|
logname=rml->arg(1);
|
||||||
if(!RDLog::exists(logname)) {
|
if(!RDLog::exists(logname)) {
|
||||||
|
rda->syslog(LOG_WARNING,"unable to load log \"%s\", no such log",
|
||||||
|
logname.toUtf8().constData());
|
||||||
if(rml->echoRequested()) {
|
if(rml->echoRequested()) {
|
||||||
rml->acknowledge(false);
|
rml->acknowledge(false);
|
||||||
rda->ripc()->sendRml(rml);
|
rda->ripc()->sendRml(rml);
|
||||||
|
Reference in New Issue
Block a user