From 36b6183fc9221a2dbcfc7569e8d280ca6bde849d Mon Sep 17 00:00:00 2001 From: Dimitar Petrovski Date: Wed, 29 Feb 2012 19:04:07 +0100 Subject: add debug logging --- eepg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eepg.c b/eepg.c index abb580f..ec778ff 100644 --- a/eepg.c +++ b/eepg.c @@ -1140,8 +1140,10 @@ void loadEquivalentChannelMap (void) break; } - if (!found) + if (!found) { equiChanMap.insert(pair(*OriginalChID.ToString(),*EquivChID.ToString())); + LogD(4, prep("Found %s equivalent to %s."), *EquivChID.ToString(), *OriginalChID.ToString()); + } } else LogI(0, prep("Warning, not found equivalent channel \'%s\' in channels.conf"), equiChanID); } @@ -2968,6 +2970,7 @@ void cEIT2::updateEquivalent(cSchedules * Schedules, tChannelID channelID, cEven ret = equiChanMap.equal_range(*channelID.ToString()); for (it=ret.first; it!=ret.second; ++it) { + LogD(1, prep("equivalent channel exists")); tChannelID equChannelID (tChannelID::FromString((*it).second)); cChannel *equChannel = GetChannelByID (equChannelID, false); if (equChannel) { -- cgit v1.2.3