diff options
author | Jonathan Bauer | 2012-01-31 13:59:38 +0100 |
---|---|---|
committer | Jonathan Bauer | 2012-01-31 13:59:38 +0100 |
commit | 4da044c24e0e4d7fa936c40185eb893f5d32bf47 (patch) | |
tree | 0678d5baddb72a8c35492d1b13ecf2fc2fe3ace0 /src/fbgui | |
parent | debug console fixed, now basicly tail on logfile (diff) | |
download | fbgui-4da044c24e0e4d7fa936c40185eb893f5d32bf47.tar.gz fbgui-4da044c24e0e4d7fa936c40185eb893f5d32bf47.tar.xz fbgui-4da044c24e0e4d7fa936c40185eb893f5d32bf47.zip |
fix for empty log messages
Diffstat (limited to 'src/fbgui')
-rw-r--r-- | src/fbgui/networkdiscovery.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fbgui/networkdiscovery.cpp b/src/fbgui/networkdiscovery.cpp index 49aa148..0198086 100644 --- a/src/fbgui/networkdiscovery.cpp +++ b/src/fbgui/networkdiscovery.cpp @@ -553,7 +553,7 @@ void NetworkDiscovery::handleNewInput(QLocalSocket * client) { QString data(client->readLine()); data = data.trimmed(); - LOG4CXX_DEBUG(ndcLogger, data); + if (!data.isEmpty()) LOG4CXX_DEBUG(ndcLogger, data); QStringList lines = data.split("\n"); for (int i = 0; i < lines.length(); i++) { @@ -621,6 +621,7 @@ void NetworkDiscovery::handleNewInputLine(QLocalSocket * client, QString logMsg) _ifNameToClient.insert(interface, client); } + // st states // #define LOG_EMERG 0 /* system is unusable */ |