I have upgraded to omv7 from omv6 on a rpi4 and everything is working well but something is differnent with a custom conf file that I use to filter out syslog message spam.
The config file is etc/rsyslog.d/omv-custom.conf and I have been trying to resolve the problem - it's just a syntax issue I think...
I have been working the issue by making changes to the file and then restarting the service using the following commands. The service starts fine but is not filter out any messages.
my custom conf file includes the following filters but I am still getting the messages. Maybe it is the order that the config is applied?
Any help appreciated.
Code
:programname, isequal, "nmbd" stop
:programname, isequal, "CRON" stop
:programname, isequal, "rngd" stop
:programname, isequal, "smbd" stop
:msg, contains, "action " stop
:msg, contains, "netsnmp_assert" stop
:msg, contains, "Failed to initiate sched scan" stop
:msg, contains, "run-docker-runtime" stop