You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to have regular expressions and color whatever matches. For instance, it would be useful to color red everything starting with "ERROR" and "CRIT" (nowadays aka "error" and "crit").
It should be configurable, i.e. let the user add regex-color mapping to a file.
It is important to reset back to the initial color at the end of the match, so we need to keep track of the current color on the line.
It'd be good to allow more than eight colors we currently have.
I think I've seen once some utility which does this for syslog based logs.
And we could also this way make RA messages stand out.
I've thought about this for the log viewer in the web interface, which currently doesn't do any kind of highlighting at all. At the very least, it should highlight which node the log comes from, but I also think highlighting error lines would be great.
The text was updated successfully, but these errors were encountered:
So, my question about this is mainly figuring out how it would work. I feel like it'd be easy to add a lot of complexity and I'm not clear on how it should work... How does this fit with the current highlighting based on node?
I definitely think it'd be great to highlight words like ERROR etc. I'm just not sure what the best way to do it is :)
from https://bugzilla.suse.com/show_bug.cgi?id=930237
The text was updated successfully, but these errors were encountered: