Changed the log message ""ERROR: copying directory %s to %s ended prematurely" from "error" to "info"

This commit is contained in:
Klaus Schmidinger 2017-12-14 15:18:05 +01:00
parent 630cc496ea
commit 05bfa4b476
3 changed files with 7 additions and 2 deletions

View File

@ -3292,6 +3292,8 @@ Matthias Senzel <matthias.senzel@t-online.de>
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 <mnazarko@gmail.com>
for translating OSD texts to the Polish language

View File

@ -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).

View File

@ -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);