]> granicus.if.org Git - icinga2/commitdiff
Remove thread names from log messages.
authorGunnar Beutner <gunnar.beutner@netways.de>
Wed, 28 May 2014 09:46:47 +0000 (11:46 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 28 May 2014 09:46:47 +0000 (11:46 +0200)
Fixes #6345

lib/base/streamlogger.cpp

index 5ff650ffbb4f66f4d4d8c9562a1e327a462d9beb..163fada07efe56d9905ac81be2a6e9346c3e788c 100644 (file)
@@ -93,7 +93,7 @@ void StreamLogger::ProcessLogEntry(std::ostream& stream, bool tty, const LogEntr
 
        boost::mutex::scoped_lock lock(m_Mutex);
 
-       stream << "[" << timestamp << "] <" << Utility::GetThreadName() << "> ";
+       stream << "[" << timestamp << "] ";
 
        if (tty) {
                switch (entry.Severity) {