My Raspberry PI (running Raspbian Stretch) works 24/7 and many of writings are work in RAM disk (not on SD cards). But there are some unnecessary warnings which are frequently written to log files. I want to skip writing them and I simply can't find what is wrong. I have used this on my previous installations and it works.
For example, if I want to skip "Router Advertisement from", I have in
:msg, contains, "Router Advertisement from" ~
Instead ~ I have also tried stop and then stop and then ~ but nothing works. And yes, I have restart service (and computer), but strings/warnings are still coming to log file.
Have I missed something?