summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2008-04-10 22:07:58 +0200
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2008-04-10 22:07:58 +0200
commit30c8c41ca7ff93449403d306b9aef4f55d6d8ced (patch)
tree56eddea3dcd9e2ecfb9d5931e0b89f1037435cfb
parent7c16c0866ab07d6d34cefd2dc2a2465546a52846 (diff)
downloadvdr-plugin-live-30c8c41ca7ff93449403d306b9aef4f55d6d8ced.tar.gz
vdr-plugin-live-30c8c41ca7ff93449403d306b9aef4f55d6d8ced.tar.bz2
Commented out some debugging log statements to not clutter syslog withcvs-commit-353
to much information.
-rw-r--r--pages/edit_timer.ecpp2
-rw-r--r--pages/timers.ecpp2
-rw-r--r--timers.cpp14
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 );