summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-14 16:04:36 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-14 16:04:36 +0100
commitdea4bf298a65100d31ce8a4ec52ed9febbd00035 (patch)
tree5a1ad07ce1f7edf53830fe4ef9986536306ed5d3
parentcd43adac926d60203754515b0eaf0bb3ac2d1399 (diff)
downloadvdr-dea4bf298a65100d31ce8a4ec52ed9febbd00035.tar.gz
vdr-dea4bf298a65100d31ce8a4ec52ed9febbd00035.tar.bz2
Made the log messages regarding lost lock of devices "info" instead of "error"
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY2
-rw-r--r--dvbdevice.c10
3 files changed, 9 insertions, 5 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 58fa14ff..98203b0e 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -859,6 +859,8 @@ Andreas Brachold <vdr04@deltab.de>
info available
for implementing the SVDRP command MOVC
for fixing the "plugins-clean" and "plugins-install" targets in the Makefile
+ for suggesting to make the log messages regarding lost lock of devices "info"
+ instead of "error"
Manuel Hartl <icecep@gmx.net>
for suggesting to extend the logging info when starting/stopping timers
diff --git a/HISTORY b/HISTORY
index a59aabed..7271a4d9 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4172,3 +4172,5 @@ Video Disk Recorder Revision History
(reported by Philippe Gramoullé).
- Made the "What's on now/next?" menus a lot faster by storing a pointer to each
channel's schedule in the cChannel data.
+- Made the log messages regarding lost lock of devices "info" instead of "error"
+ (suggested by Andreas Brachold).
diff --git a/dvbdevice.c b/dvbdevice.c
index 7fa39cce..fe32298a 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 1.149 2006/01/07 15:15:01 kls Exp $
+ * $Id: dvbdevice.c 1.150 2006/01/14 15:57:36 kls Exp $
*/
#include "dvbdevice.h"
@@ -314,7 +314,7 @@ void cDvbTuner::Action(void)
tunerStatus = tsSet;
diseqcCommands = NULL;
if (time(NULL) - lastTimeoutReport > 60) { // let's not get too many of these
- esyslog("ERROR: frontend %d timed out while tuning to channel %d, tp %d", cardIndex, channel.Number(), channel.Transponder());
+ isyslog("frontend %d timed out while tuning to channel %d, tp %d", cardIndex, channel.Number(), channel.Transponder());
lastTimeoutReport = time(NULL);
}
continue;
@@ -323,13 +323,13 @@ void cDvbTuner::Action(void)
if (Status & FE_REINIT) {
tunerStatus = tsSet;
diseqcCommands = NULL;
- esyslog("ERROR: frontend %d was reinitialized", cardIndex);
+ isyslog("frontend %d was reinitialized", cardIndex);
lastTimeoutReport = 0;
continue;
}
else if (Status & FE_HAS_LOCK) {
if (LostLock) {
- esyslog("frontend %d regained lock on channel %d, tp %d", cardIndex, channel.Number(), channel.Transponder());
+ isyslog("frontend %d regained lock on channel %d, tp %d", cardIndex, channel.Number(), channel.Transponder());
LostLock = false;
}
tunerStatus = tsLocked;
@@ -338,7 +338,7 @@ void cDvbTuner::Action(void)
}
else if (tunerStatus == tsLocked) {
LostLock = true;
- esyslog("ERROR: frontend %d lost lock on channel %d, tp %d", cardIndex, channel.Number(), channel.Transponder());
+ isyslog("frontend %d lost lock on channel %d, tp %d", cardIndex, channel.Number(), channel.Transponder());
tunerStatus = tsTuned;
Timer.Set(lockTimeout);
lastTimeoutReport = 0;