From e7269d2fd521fd1695d7950e92fcb861d09c07ec Mon Sep 17 00:00:00 2001 From: Klaas de Waal Date: Tue, 28 Dec 2021 12:43:58 +0100 Subject: [PATCH] Changed "waiting for tsid" message from INFO to DEBUG Changed the log message about "Received PAT for tsid XX waiting for tsid YY" from INFO to DEBUG. This is done to avoid polluting the logs when not debugging. Note that This message is useful for investigating the "Rescan your transports" warning messages that are sometimes given even when the scanning information is completely up-to-date. --- mythtv/libs/libmythtv/recorders/dtvsignalmonitor.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mythtv/libs/libmythtv/recorders/dtvsignalmonitor.cpp b/mythtv/libs/libmythtv/recorders/dtvsignalmonitor.cpp index 9e583bbbb4e..ff8ce65a5b0 100644 --- a/mythtv/libs/libmythtv/recorders/dtvsignalmonitor.cpp +++ b/mythtv/libs/libmythtv/recorders/dtvsignalmonitor.cpp @@ -310,8 +310,9 @@ void DTVSignalMonitor::HandlePAT(const ProgramAssociationTable *pat) GetStreamData()->SetVersionPAT(tsid, -1,0); // END HACK HACK HACK - DBG_SM("HandlePAT()", QString("Received PAT for tsid %1 waiting for tsid %2") - .arg(tsid).arg(m_transportID)); + LOG(VB_CHANNEL, LOG_DEBUG, LOC + QString("HandlePAT() ") + + QString("Received PAT for tsid %1 waiting for tsid %2") + .arg(tsid).arg(m_transportID)); // Only one entry in the PAT, just use this program int spts_program = 0;