]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/logs-show: show audit logs in blue 12601/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 17 May 2019 13:03:49 +0000 (15:03 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 17 May 2019 13:06:59 +0000 (15:06 +0200)
commit194da5ca5159597e4fac726db5cee104ec338213
tree21bc34df18d152d7b37e8c424972dddfd5ed4470
parenta9009769de43b7f29d05017f4219e18c1e42a273
shared/logs-show: show audit logs in blue

Audit logs always have _TRANSPORT=audit and no PRIORITY= field set.  This means
that they are shown in the default foreground color. There can be quite a lot
of them, and they often repeat the same information that is already logged by
applications, leading to a "wall of text" effect. Let's mark them with a
different color. This splits the logs visually into "normal logs" and "audit
logs".
src/shared/logs-show.c