openstack-ansible-os_swift/templates/drive-audit.conf.j2
Dmitriy Rabotyagov d0fac1b559 Use systemd-journald instead of log files
This patch aims to migrate service from usage of regular syslog files
to journald.
By this we mean dropping rsyslog client installation. log_address is set
by default to /dev/log, which is served by journald.

Change-Id: I6dd0d77004394bb1ad674b53538b0679b056bb0f
2019-07-19 15:10:49 +03:00

9 lines
245 B
Django/Jinja

# {{ ansible_managed }}
[drive-audit]
device_dir = {{ swift_vars.mount_point | default(swift.mount_point) }}
minutes = 60
error_limit = 2
regex_pattern_1 = \berror\b.*\b(sd[a-z]+([0-9]+)?)\b
regex_pattern_2 = \b(sd[a-z]+([0-9]+)?)\b.*\berror\b