New variable for disabling colored output for *systemd*
This update introduces the `SYSTEMD_COLORS` environment variable for *systemd*, which enables turning on or off *systemd* color output. `SYSTEMD_COLORS` should be set to a valid boolean value.
By default, journalctl produce colourful output red, while lines based on line of level error, notice etc.... this seems to causing while using non-black screen. I guess it's reasonable request to provide switch (non default) to disable it for users who don't use non-black screen.
I have checked my F22 and upstream page http://www.freedesktop.org/software/systemd/man/journalctl.html. It looks like not discussed yet anywhere.
Can we consider this as RFE?
There must be a way how to achieve tthis without any changes in systemd.
Output there is piped to a pager, so maybe you could just somehow adjust appropriate environment variables.
It would be nice to support disable/enable described in "man terminal-colors.d".
Merged in https://github.com/systemd/systemd/pull/2381.
https://github.com/lnykryn/systemd-rhel/commit/9d67a3a2d4fd378ca04726c5eb5f31ee222c50e4 -> push to staging
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.