syslogd: Don't run sync for every write in all.log

This commit is contained in:
Timo Makinen 2024-12-25 07:50:34 +00:00
parent a0f7145f9c
commit 10f47b45e0

View file

@ -16,7 +16,8 @@
- name: Enable all.log
ansible.builtin.lineinfile:
path: /etc/syslog.conf
line: "*.* /var/log/all.log"
line: "*.* -/var/log/all.log"
regexp: '^\*\.\*\s.*\/var\/log\/all\.log'
notify: Restart syslogd
- name: Enable all.log rotation