[icinga-checkins] icinga.org: icinga2/master: Made warning and critical messages bold.

git at icinga.org git at icinga.org
Fri Feb 1 14:21:19 CET 2013


Module: icinga2
Branch: master
Commit: 0ca8012079ee573c075a3a4ec4aa4dd95b73eb58
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=0ca8012079ee573c075a3a4ec4aa4dd95b73eb58

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri Feb  1 14:21:11 2013 +0100

Made warning and critical messages bold.

---

 lib/base/streamlogger.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/base/streamlogger.cpp b/lib/base/streamlogger.cpp
index d88b681..bb62472 100644
--- a/lib/base/streamlogger.cpp
+++ b/lib/base/streamlogger.cpp
@@ -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;
 		}
 





More information about the icinga-checkins mailing list