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 <[email protected]>:

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 easily

That makes it even more interesting.

I need to know why I get:
     Compiled without pattern matching support

and what to do about it.


--
SMILE <http://www.smile.eu/>

20 rue des Jardins
92600 Asnières-sur-Seine

        
*Jérémy ROSEN*
Architecte technique
Responsable de l'expertise Smile-ECS

email [email protected] <mailto:[email protected]>
phone +33141402967
url http://www.smile.eu

Twitter <https://twitter.com/GroupeSmile> Facebook <https://www.facebook.com/smileopensource> LinkedIn <https://www.linkedin.com/company/smile> Github <https://github.com/Smile-SA>


Découvrez l’univers Smile, rendez-vous sur smile.eu <http://smile.eu/?utm_source=signature&utm_medium=email&utm_campaign=signature>

eco Pour la planète, n'imprimez ce mail que si c'est nécessaire
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to