summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-23 10:17:12 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-23 10:17:12 +0200
commite1f7348922bbca20c29923035cf298bf7f49a392 (patch)
tree4712cddc717280e86340b8eb983ca4fac6af6045
parent53364f924838febe854b8341c507c0ad69a628a9 (diff)
downloadvdr-e1f7348922bbca20c29923035cf298bf7f49a392.tar.gz
vdr-e1f7348922bbca20c29923035cf298bf7f49a392.tar.bz2
Writing the current time (as seen by VDR) into the log file when starting a timer recording
-rw-r--r--HISTORY3
-rw-r--r--vdr.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 4f0381aa..e4b6370d 100644
--- a/HISTORY
+++ b/HISTORY
@@ -781,3 +781,6 @@ Video Disk Recorder Revision History
- New command line option '-r' to define a command that gets called before and
after each recording (see INSTALL for details).
- Implemented a check to see whether the system time is running linearly.
+- Writing the current time (as seen by VDR) into the log file when starting
+ a timer recording (this may help debugging cases where timers don't start
+ at the expected time).
diff --git a/vdr.c b/vdr.c
index e92dc426..e08c590a 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: vdr.c 1.76 2001/09/23 09:58:36 kls Exp $
+ * $Id: vdr.c 1.77 2001/09/23 10:11:07 kls Exp $
*/
#define _GNU_SOURCE
@@ -355,6 +355,7 @@ int main(int argc, char *argv[])
cRecordControls::Process(Now);
cTimer *Timer = Timers.GetMatch(Now);
if (Timer) {
+ dsyslog(LOG_INFO, "system time seen is %s", ctime(&Now));
if (!cRecordControls::Start(Timer))
Timer->SetPending(true);
}