Am 13.02.21 um 14:33 schrieb Michael Biebl:
Am 13.02.21 um 12:11 schrieb Jari Aalto:
Package: systemd
Version: 247.3-1
Severity: minor

PROBLEM:

    env SYSTEMD_COLORS=0 journalctl -xe ssh
    ^[[0;1;31mFailed to add match 'ssh': Invalid argument^[[0m


I guess this is only about the error case?
When you run

SYSTEMD_COLORS=0 journalctl -b

it shouldn't use colors, right?


This is from the man page:
"
When outputting to a tty, lines are colored according to priority: lines of level ERROR and higher are colored red; lines of level NOTICE and higher are highlighted; lines of level DEBUG are
       colored lighter grey; other lines are displayed normally.
"

SYSTEMD_COLORS=0 seems to properly work in that case.
Regarding error messages from journalctl itself, it would probably be a good idea if you raise this upstream (we are not shipping any downstream patches in that regard).

Regards,
Michael

Reply via email to