projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec4b967
)
logs-show: use grey color for de-emphasizing journal log output
author
Lennart Poettering
<lennart@poettering.net>
Wed, 5 Dec 2018 17:42:32 +0000
(18:42 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 5 Dec 2018 17:46:23 +0000
(18:46 +0100)
src/shared/logs-show.c
patch
|
blob
|
history
diff --git
a/src/shared/logs-show.c
b/src/shared/logs-show.c
index
4076b9e
..
525a948
100644
(file)
--- a/
src/shared/logs-show.c
+++ b/
src/shared/logs-show.c
@@
-171,6
+171,10
@@
static bool print_multiline(
color_on = ANSI_HIGHLIGHT;
color_off = ANSI_NORMAL;
highlight_on = ANSI_HIGHLIGHT_RED;
+ } else if (priority >= LOG_DEBUG) {
+ color_on = ANSI_GREY;
+ color_off = ANSI_NORMAL;
+ highlight_on = ANSI_HIGHLIGHT_RED;
}
}