Ticket #13633: 0002-eliminate-extranous-LOC-in-logging.patch

File 0002-eliminate-extranous-LOC-in-logging.patch, 1.1 KB (added by Gary Buhrmaster, 3 months ago)

eliminate-extranous-LOC-in-logging

  • mythtv/programs/mythfilldatabase/filldata.cpp

    From ecdf0f81e668fb34dbc1b17d3205d865adad9ba7 Mon Sep 17 00:00:00 2001
    From: Gary Buhrmaster <gary.buhrmaster@gmail.com>
    Date: Sat, 13 Jun 2020 23:54:59 +0000
    Subject: [PATCH 2/4] eliminate extranous LOC in logging
    
    All the other LOG_ERR logging in mythfilldata do not
    include the LOC field.  Eliminate it for consistency
    in the logging output
    ---
     mythtv/programs/mythfilldatabase/filldata.cpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/mythtv/programs/mythfilldatabase/filldata.cpp b/mythtv/programs/mythfilldatabase/filldata.cpp
    index db751bebf3..1e42900832 100644
    a b bool FillData::GrabData(const Source& source, int offset) 
    201201        {
    202202            status = QObject::tr("FAILED: XMLTV grabber returned error code %1.")
    203203                            .arg(systemcall_status);
    204             LOG(VB_GENERAL, LOG_ERR, LOC +
     204            LOG(VB_GENERAL, LOG_ERR,
    205205                QString("XMLTV grabber returned error code %1")
    206206                    .arg(systemcall_status));
    207207        }