From 05bfa4b476cb13f54f2812a55dbafc82fdd4ae61 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 14 Dec 2017 15:18:05 +0100 Subject: [PATCH] Changed the log message ""ERROR: copying directory %s to %s ended prematurely" from "error" to "info" --- CONTRIBUTORS | 2 ++ HISTORY | 3 +++ recording.c | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 1c6e0c29..07cd85be 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3292,6 +3292,8 @@ Matthias Senzel for suggesting to stay in the original folder when moving a recording to a different folder for reporting problem with locking the Recordings list in the cutting process + for suggesting to change the log message ""ERROR: copying directory '%s' to '%s' ended + prematurely" from "error" to "info" Marek Nazarko for translating OSD texts to the Polish language diff --git a/HISTORY b/HISTORY index 6b5b2d2f..acd78ba8 100644 --- a/HISTORY +++ b/HISTORY @@ -9236,3 +9236,6 @@ Video Disk Recorder Revision History it contained, the cursor is moved up until a non empty folder is found. - Moved adding the name of the edited recording into the cutting thread, to avoid a problem with locking the Recordings list (reported by Matthias Senzel). +- Changed the log message ""ERROR: copying directory '%s' to '%s' ended prematurely" from + "error" to "info", because any actual error would have already been reported before this + (suggested by Matthias Senzel). diff --git a/recording.c b/recording.c index 4dbb81c6..51013e33 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 4.14 2017/12/11 13:35:14 kls Exp $ + * $Id: recording.c 4.15 2017/12/14 15:14:59 kls Exp $ */ #include "recording.h" @@ -1823,7 +1823,7 @@ void cDirCopier::Action(void) free(Buffer); close(From); // just to be absolutely sure close(To); - esyslog("ERROR: copying directory '%s' to '%s' ended prematurely", *dirNameSrc, *dirNameDst); + isyslog("copying directory '%s' to '%s' ended prematurely", *dirNameSrc, *dirNameDst); } else esyslog("ERROR: can't open '%s'", *dirNameSrc);