Skip to content

Commit

Permalink
Changed "waiting for tsid" message from INFO to DEBUG
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kmdewaal committed Dec 28, 2021
1 parent 484138c commit e7269d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mythtv/libs/libmythtv/recorders/dtvsignalmonitor.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit e7269d2

Please sign in to comment.