sectionsd: trim CN thread debug messages

* disable DEBUG_CN_THREAD
* shorten eit update filter message
* remove unneeded printdata_ms

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
This commit is contained in:
Stefan Seyfried
2013-03-05 20:31:14 +01:00
committed by Jacek Jendrzej
parent 49f2f4e70d
commit 3d386649a9

View File

@@ -58,7 +58,7 @@
//#define DEBUG_TIME_THREAD //#define DEBUG_TIME_THREAD
#define DEBUG_SECTION_THREADS #define DEBUG_SECTION_THREADS
#define DEBUG_CN_THREAD //#define DEBUG_CN_THREAD
/*static*/ bool reader_ready = true; /*static*/ bool reader_ready = true;
static unsigned int max_events; static unsigned int max_events;
@@ -1716,7 +1716,7 @@ void CCNThread::addFilters()
void CCNThread::beforeWait() void CCNThread::beforeWait()
{ {
xprintf("%s: set eit update filter, service = 0x%012" PRIx64 ", current version 0x%x got events %d (%s)\n", xprintf("%s: eit update filter, ch 0x%012" PRIx64 ", current ver 0x%02x got events %d (%s)\n",
name.c_str(), messaging_current_servicekey, eit_version, messaging_have_CN, name.c_str(), messaging_current_servicekey, eit_version, messaging_have_CN,
updating ? "active" : "not active"); updating ? "active" : "not active");
@@ -1811,7 +1811,6 @@ bool CCNThread::checkUpdate()
if (ret > 0) { if (ret > 0) {
LongSection section(buf); LongSection section(buf);
printdate_ms(stdout);
xprintf("%s: eit update filter: ### new version 0x%02x ###, Activate thread\n", xprintf("%s: eit update filter: ### new version 0x%02x ###, Activate thread\n",
name.c_str(), section.getVersionNumber()); name.c_str(), section.getVersionNumber());