[systemd-devel] Q: journalctl -g
Michael Chapman
mike at very.puzzling.org
Fri Mar 4 08:47:39 UTC 2022
On Fri, 4 Mar 2022, Ulrich Windl wrote:
> Hi!
>
> In SLES15 SP3 (systemd-246.16-7.33.1.x86_64) I have this effect, wondering whether it is a bug or a feature:
> When using "journalctl -b -g raid" I see that _ome_ matches are highlighted in red, but others aren't. For example:
> Mar 01 01:37:09 h16 kernel: mega*raid*_sas 0000:c1:00.0: BAR:0x1 BAR's base_addr(phys):0x00000000a5500000 mapped virt_addr:0x00000000ae628322
> Mar 01 01:37:09 h16 kernel: megaraid_sas 0000:c1:00.0: FW now in Ready state
> ...
Messages at log priority LOG_INFO -- between LOG_NOTICE and LOG_DEBUG --
don't get any highlight colour set [1]. This seems like a simple bug to
me.
[1] https://github.com/systemd/systemd/blob/178d598b5fae36fa9d54c30668771f9c626724f6/src/basic/terminal-util.c#L1413-L1449
More information about the systemd-devel
mailing list