]> granicus.if.org Git - icinga2/commitdiff
Made warning and critical messages bold.
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 1 Feb 2013 13:21:11 +0000 (14:21 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 1 Feb 2013 13:21:11 +0000 (14:21 +0100)
lib/base/streamlogger.cpp

index d88b681888737727158209de802440a66b9af6f2..bb624725a2dee0881b49d844142878370271d621 100644 (file)
@@ -85,10 +85,10 @@ void StreamLogger::ProcessLogEntry(ostream& stream, bool tty, const LogEntry& en
                String colorCode;
                switch (entry.Severity) {
                        case LogWarning:
-                               colorCode = "\x1b[33m"; // yellow;
+                               colorCode = "\x1b[1;33m"; // yellow;
                                break;
                        case LogCritical:
-                               colorCode = "\x1b[31m"; // red
+                               colorCode = "\x1b[1;31m"; // red
                                break;
                }