Hello,
I am trying to tidy up my syslog on lates pve (7.3-4).
Therefore i edited the
(I already tried on other positions, nothing changed)
I tested with
The logentry is written to the destination file but the "stop" is ignored. (tried with
It is also placed in syslog.
Do it get sth wrong here?
I am trying to tidy up my syslog on lates pve (7.3-4).
Therefore i edited the
/etc/rsyslog.conf
and added the following before the # RULES # section.(I already tried on other positions, nothing changed)
Bash:
if ($programname contains "root") then {
action(type="omfile" file="/mnt/log.log")
stop
}
I tested with
logger "test"
.The logentry is written to the destination file but the "stop" is ignored. (tried with
&stop
aswell)It is also placed in syslog.
Do it get sth wrong here?