Skip to content

Commit

Permalink
Layout of debug message ExternIO::Write in ExternalStreamHandler
Browse files Browse the repository at this point in the history
Remove the non-printing characters such as \n in the debug output
of the ExternIO::Write command strings.
This improves the layout and the readibility of the logs.
  • Loading branch information
kmdewaal committed Feb 1, 2020
1 parent ac9721c commit e14b357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp
Expand Up @@ -204,7 +204,7 @@ int ExternIO::Write(const QByteArray & buffer)
}

LOG(VB_RECORD, LOG_DEBUG, QString("ExternIO::Write('%1')")
.arg(QString(buffer)));
.arg(QString(buffer).simplified()));

int len = write(m_appIn, buffer.constData(), buffer.size());
if (len != buffer.size())
Expand Down

0 comments on commit e14b357

Please sign in to comment.