diff --git a/templates/swift-rsyslog.conf.j2 b/templates/swift-rsyslog.conf.j2 index ce21fc66..05d1a8e1 100644 --- a/templates/swift-rsyslog.conf.j2 +++ b/templates/swift-rsyslog.conf.j2 @@ -1,24 +1,24 @@ # {{ ansible_managed }} # Uncomment the following to have a log containing all logs together -#local1,local2,local3,local4.* /openstack/log/{{ inventory_hostname }}/all.log +#local1,local2,local3,local4.* /var/log/swift/all.log # Uncomment the following to have hourly proxy logs for stats processing -#$template HourlyProxyLog,"/openstack/log/{{ inventory_hostname }}/hourly/%$YEAR%%$MONTH%%$DAY%%$HOUR%" +#$template HourlyProxyLog,"/var/log/swift/hourly/%$YEAR%%$MONTH%%$DAY%%$HOUR%" #local1.*;local1.!notice ?HourlyProxyLog local1.*;local1.!notice /var/log/swift/proxy.log local1.notice /var/log/swift/proxy-error.log local1.* ~ -local2.*;local2.!notice /openstack/log/{{ inventory_hostname }}/account.log -local2.notice /openstack/log/{{ inventory_hostname }}/account-error.log +local2.*;local2.!notice /var/log/swift/account.log +local2.notice /var/log/swift/account-error.log local2.* ~ -local3.*;local3.!notice /openstack/log/{{ inventory_hostname }}/container.log -local3.notice /openstack/log/{{ inventory_hostname }}/container-error.log +local3.*;local3.!notice /var/log/swift/container.log +local3.notice /var/log/swift/container-error.log local3.* ~ -local4.*;local4.!notice /openstack/log/{{ inventory_hostname }}/object.log -local4.notice /openstack/log/{{ inventory_hostname }}/object-error.log +local4.*;local4.!notice /var/log/swift/object.log +local4.notice /var/log/swift/object-error.log local4.* ~