Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: System time seen



Rainer Zocholl wrote:
> 
> Sep 24 19:29:02 msi vdr[468]: system time seen is Mon Sep 24 19:29:02 2001
> Sep 24 19:29:03 msi vdr[468]: system time seen is Mon Sep 24 19:29:03 2001
> Sep 24 19:29:04 msi vdr[468]: system time seen is Mon Sep 24 19:29:04 2001
> Sep 24 19:29:05 msi vdr[468]: system time seen is Mon Sep 24 19:29:05 2001
> etc.
> 
> Emm, i was wondering why my logfile shows only "today" anymore :-)
> Now it's clear... ;-)
> 
> Wouldn't it be sufficient to log that once a minute or
> only the time is actually used?
> 
> if ((Now % 60)==0) dsyslog(LOG_INFO, "system time seen is %s", ctime(&Now));

Actually it _is_ only shown when a timer is about to be started.
Could it be that you have programmed overlapping timers and there are not enough
DVB cards to run them all? In that case there could be many such messages.

To fix this you could add the line

   if (!Timer->pending)

before the line

   dsyslog(LOG_INFO, "system time seen is %s", ctime(&Now))

in vdr.c. 

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________



Home | Main Index | Thread Index