From e1f7348922bbca20c29923035cf298bf7f49a392 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 23 Sep 2001 10:17:12 +0200 Subject: [PATCH] Writing the current time (as seen by VDR) into the log file when starting a timer recording --- HISTORY | 3 +++ vdr.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) 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); }