aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libutil/logging.cc2
-rw-r--r--src/libutil/util.hh1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/logging.cc b/src/libutil/logging.cc
index b379306f6..fa5c84a27 100644
--- a/src/libutil/logging.cc
+++ b/src/libutil/logging.cc
@@ -21,7 +21,7 @@ Logger * logger = makeDefaultLogger();
void Logger::warn(const std::string & msg)
{
- log(lvlWarn, ANSI_RED "warning:" ANSI_NORMAL " " + msg);
+ log(lvlWarn, ANSI_YELLOW "warning:" ANSI_NORMAL " " + msg);
}
class SimpleLogger : public Logger
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index abf1c95d6..3bfebcd15 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -429,6 +429,7 @@ void ignoreException();
#define ANSI_FAINT "\e[2m"
#define ANSI_RED "\e[31;1m"
#define ANSI_GREEN "\e[32;1m"
+#define ANSI_YELLOW "\e[33;1m"
#define ANSI_BLUE "\e[34;1m"