diff --git a/src/eitd/xmlutil.cpp b/src/eitd/xmlutil.cpp index 596219770..7f7fd2460 100644 --- a/src/eitd/xmlutil.cpp +++ b/src/eitd/xmlutil.cpp @@ -615,8 +615,8 @@ void *insertEventsfromFile(void * data) if (index_parser == NULL) { readEventsFromDir(epg_dir, ev_count); - debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events)", - time_monotonic_ms()-now, ev_count); + debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events) from %s", + time_monotonic_ms()-now, ev_count, epg_dir.c_str()); reader_ready = true; pthread_exit(NULL); } @@ -633,12 +633,13 @@ void *insertEventsfromFile(void * data) epgname = epg_dir + filename; readEventsFromFile(epgname, ev_count); + debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events) from %s", + time_monotonic_ms()-now, ev_count, epgname.c_str()); + eventfile = xmlNextNode(eventfile); } xmlFreeDoc(index_parser); - debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events)", - time_monotonic_ms()-now, ev_count); reader_ready = true; @@ -676,8 +677,8 @@ void *insertEventsfromXMLTV(void * data) pthread_exit(NULL); } - debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events)", - time_monotonic_ms()-now, ev_count); + debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events) from %s", + time_monotonic_ms()-now, ev_count, url.c_str()); reader_ready = true;