I am trying to discard / not writing some infos to logs. I created /etc/rsyslog.d/ignore-proxmox.conf and added belows and installed rsyslog.
if ($programname == 'pveproxy' and $msg contains 'proxy detected vanished client connection') then stop
if ($programname == 'pvestatd' and $msg contains 'status update time') then stop
if ($programname == 'pvedaemon' and $msg contains 'Connection timed out') then stop
But they still shows in syslog. So How can I disard these messages in logs?
if ($programname == 'pveproxy' and $msg contains 'proxy detected vanished client connection') then stop
if ($programname == 'pvestatd' and $msg contains 'status update time') then stop
if ($programname == 'pvedaemon' and $msg contains 'Connection timed out') then stop
But they still shows in syslog. So How can I disard these messages in logs?