/
etc
/
rsyslog.d
/
/etc/rsyslog.d
mkdir
upload
Name
Size
Mode
Actions
20-ufw.conf
314
0644
edit
dl
rm
21-cloudinit.conf
255
0644
edit
dl
rm
50-default.conf
1124
0644
edit
dl
rm
Edit:
/etc/rsyslog.d/20-ufw.conf
(314B)
# Log kernel generated UFW log messages to file :msg,contains,"[UFW " /var/log/ufw.log # Uncomment the following to stop logging anything that matches the last rule. # Doing this will stop logging kernel generated UFW log messages to the file # normally containing kern.* messages (eg, /var/log/kern.log) #& stop
Save
cmd:
run