unfortunately, regex in journalctl is an optional feature that is
decided at compile time. Your distro probably did not compile that support. The best approch would be to open a feature request on your distro's bugtracker. Alternatively you can recompile systemd yourself and add that support, but that's a bit more complicated (btw, you only replied to me, not the mailing list. Not a big deal, just pointing it out so you don't forward further questions just to me) On 30/08/2018 12:02, Cecil Westerhof
wrote:
2018-08-30 9:57 GMT+02:00 Jérémy Rosen <jeremy.rosen@xxxxxxxx>:One of the big advantage of --grep compared to |grep is that it returns the whole message, not just the line containig your regex so you can combine it with "-o verbose" and get all the info on the message easilyThat makes it even more interesting. I need to know why I get: Compiled without pattern matching support and what to do about it. |
_______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel