diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-04-26 12:28:25 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-05-08 09:50:21 +0200 |
commit | 1a04395959ca8cdca91f9da86b8580ef27025a5f (patch) | |
tree | 0e37e729a0bca4ab5ecb697947baa4f3e6baefa6 /src/cgls | |
parent | basic/log: use colors to highlight messages like journalctl (diff) | |
download | systemd-1a04395959ca8cdca91f9da86b8580ef27025a5f.tar.xz systemd-1a04395959ca8cdca91f9da86b8580ef27025a5f.zip |
Enable log colors for most of tools in /usr/bin
When emitting the calendarspec warning we want to see some color.
Follow-up for 04220fda5c.
Exceptions:
- systemctl, because it has a lot hand-crafted coloring
- tmpfiles, sysusers, stdio-bridge, etc, because they are also used in
services and I'm not sure if this wouldn't mess up something.
Diffstat (limited to 'src/cgls')
-rw-r--r-- | src/cgls/cgls.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c index 09ee0e86a2..adc028bc8e 100644 --- a/src/cgls/cgls.c +++ b/src/cgls/cgls.c @@ -165,6 +165,7 @@ static void show_cg_info(const char *controller, const char *path) { static int run(int argc, char *argv[]) { int r, output_flags; + log_show_color(true); log_parse_environment(); log_open(); |