update: change insertafter by insertbefore for MISC. LOG SETTINGS

This commit is contained in:
chrispipo 2025-06-18 08:37:22 +00:00
parent 27dc592c12
commit 942870f78d

View file

@ -130,8 +130,8 @@
# misc. logging additions to meet CIS standards
*.=warning;*.=err -/var/log/warn
*.crit /var/log/warn
*.*;mail.none;news.none /var/log/messages
insertafter: '#### RULES ####'
*.*;news.none /var/log/messages
insertbefore: '# ### sample forwarding rule ###'
notify: Restart rsyslog
- name: "6.2.3.5 | PATCH | Ensure logging is configured | Local log settings"