3

I have a dark background for my console so there's quite a bit of journalctl output that is unreadable.

I see lots of information about how to add color! But how do I completely disable it?

1 Answer 1

6

you can disable colour in journalctl like so;

SYSTEMD_COLORS=false journalctl

you could then add it to your ~/.bashrc, exporting the env variable;

export SYSTEMD_COLORS=false

That will be global though and may effect other systemd related things.

I guess a more direct solution would be to add an alias to your ~/.bashrc, like so;

alias journalctl='SYSTEMD_COLORS=false journalctl'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.