timer, epgcache: Remove continuous logging
authorMike Looijmans <milo-software@users.sourceforge.net>
Wed, 14 Mar 2012 18:23:10 +0000 (19:23 +0100)
committerMike Looijmans <milo-software@users.sourceforge.net>
Wed, 14 Mar 2012 18:23:10 +0000 (19:23 +0100)
Gets rid of the following output every minute:

It's now  Tue Mar 13 19:40:10 2012
next real activation is Tue Mar 13 19:52:39 2012
[timer.py] next activation: 1331664110 (in 99995 ms)
[EPGC] 1166751 bytes for cache used

lib/dvb/epgcache.cpp
timer.py

index c3c9679..50903e3 100644 (file)
@@ -934,7 +934,6 @@ void eEPGCache::flushEPG(const uniqueEPGKey & s)
                for (channelMapIterator it(m_knownChannels.begin()); it != m_knownChannels.end(); ++it)
                        it->second->startEPG();
        }
-       eDebug("[EPGC] %i bytes for cache used", eventData::CacheSize);
 }
 
 void eEPGCache::cleanLoop()
@@ -997,7 +996,6 @@ void eEPGCache::cleanLoop()
                        }
 #endif
                }
-               eDebug("[EPGC] %i bytes for cache used", eventData::CacheSize);
        }
        cleanTimer->start(CLEAN_INTERVAL,true);
 }
index 0a67af6..0581854 100644 (file)
--- a/timer.py
+++ b/timer.py
@@ -185,8 +185,6 @@ class Timer:
        
        def setNextActivation(self, when):
                delay = int((when - time()) * 1000)
-               print "[timer.py] next activation: %d (in %d ms)" % (when, delay)
-               
                self.timer.start(delay, 1)
                self.next = when
 
@@ -210,8 +208,6 @@ class Timer:
                        w = self.timer_list[0].getNextActivation()
                        if w < min:
                                min = w
-                       else:
-                               print "next real activation is", strftime("%c", localtime(w))
                
                self.setNextActivation(min)
        
@@ -261,9 +257,7 @@ class Timer:
                self.stateChanged(w)
 
        def processActivation(self):
-               print "It's now ", strftime("%c", localtime(time()))
                t = int(time()) + 1
-               
                # we keep on processing the first entry until it goes into the future.
                while self.timer_list and self.timer_list[0].getNextActivation() < t:
                        self.doActivate(self.timer_list[0])