diff --git a/src/basic/terminal-util.c b/src/basic/terminal-util.c index 4676ce2a80..7d9e5d41ab 100644 --- a/src/basic/terminal-util.c +++ b/src/basic/terminal-util.c @@ -1323,6 +1323,14 @@ void get_log_colors(int priority, const char **on, const char **off, const char if (highlight) *highlight = ANSI_HIGHLIGHT; + } else if (priority <= LOG_WARNING) { + if (on) + *on = ANSI_HIGHLIGHT_YELLOW; + if (off) + *off = ANSI_NORMAL; + if (highlight) + *highlight = ANSI_HIGHLIGHT; + } else if (priority <= LOG_NOTICE) { if (on) *on = ANSI_HIGHLIGHT;