From 30c8c41ca7ff93449403d306b9aef4f55d6d8ced Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Thu, 10 Apr 2008 22:07:58 +0200 Subject: Commented out some debugging log statements to not clutter syslog with to much information. --- pages/edit_timer.ecpp | 2 +- pages/timers.ecpp | 2 +- timers.cpp | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/edit_timer.ecpp b/pages/edit_timer.ecpp index f1c6ca2..838629a 100644 --- a/pages/edit_timer.ecpp +++ b/pages/edit_timer.ecpp @@ -66,7 +66,7 @@ cTimer* timer; timer = 0; if ( !timerid.empty() ) { string tId = SortedTimers::DecodeDomId(timerid); - dsyslog("DEBUG: TIMER: tId = %s", tId.c_str()); + // dsyslog("DEBUG: TIMER: tId = %s", tId.c_str()); timer = timers.GetByTimerId(tId); if ( timer == 0 ) throw HtmlError( tr("Couldn't find timer. Maybe you mistyped your request?") ); diff --git a/pages/timers.ecpp b/pages/timers.ecpp index 654484f..3e6f56d 100644 --- a/pages/timers.ecpp +++ b/pages/timers.ecpp @@ -39,7 +39,7 @@ static const size_t maximumDescriptionLength = 300; timer = 0; if ( !timerid.empty() ) { string tId = SortedTimers::DecodeDomId(timerid); - dsyslog("DEBUG: TIMER: tId = %s", tId.c_str()); + // dsyslog("DEBUG: TIMER: tId = %s", tId.c_str()); timer = timers.GetByTimerId(tId); if ( timer == 0 ) throw HtmlError( tr("Couldn't find timer. Maybe you mistyped your request?") ); diff --git a/timers.cpp b/timers.cpp index 4ceb60d..5dd3f6c 100644 --- a/timers.cpp +++ b/timers.cpp @@ -85,7 +85,7 @@ namespace vdrlive { void SortedTimers::ReloadTimers( bool initial ) { - dsyslog("live reloading timers"); + // dsyslog("live reloading timers"); clear(); for ( cTimer* timer = Timers.First(); timer != 0; timer = Timers.Next( timer ) ) { @@ -139,15 +139,15 @@ namespace vdrlive { builder << flags << ":" << channel << ":" << ( weekdays != "-------" ? weekdays : "" ) << ( weekdays == "-------" || day.empty() ? "" : "@" ) << day << ":" << start << ":" << stop << ":" << priority << ":" << lifetime << ":" << title << ":" << aux; - dsyslog("%s", builder.str().c_str()); + // dsyslog("%s", builder.str().c_str()); TimerPair timerData( timer, builder.str() ); - dsyslog("SV: in UpdateTimer"); + // dsyslog("SV: in UpdateTimer"); m_updateTimers.push_back( timerData ); - dsyslog("SV: wait for update"); + // dsyslog("SV: wait for update"); m_updateWait.Wait( *this ); - dsyslog("SV: update done"); + // dsyslog("SV: update done"); string error = GetError( timerData ); if ( !error.empty() ) @@ -192,13 +192,13 @@ namespace vdrlive { DoUpdateTimers(); } DoReloadTimers(); - dsyslog("SV: signalling waiters"); + // dsyslog("SV: signalling waiters"); m_updateWait.Broadcast(); } void TimerManager::DoUpdateTimers() { - dsyslog("SV: updating timers"); + // dsyslog("SV: updating timers"); for ( TimerList::iterator timer = m_updateTimers.begin(); timer != m_updateTimers.end(); ++timer ) { if ( timer->first == 0 ) // new timer DoInsertTimer( *timer ); -- cgit v1.2.3