Created attachment 1101145 [details] swift log Description of problem: HAProxy logs show up in /var/log/swift/swift.log Version-Release number of selected component (if applicable): RHEL-OSP 7.1 How reproducible: 100% Steps to Reproduce: 1. Check /var/log/swift/swift.log on the overcloud controller Actual results: HAProxy logs show up. Expected results: Only swift related logs are shown. Additional info: Attaching swift.log
*** Bug 1306170 has been marked as a duplicate of this bug. ***
*** Bug 1242737 has been marked as a duplicate of this bug. ***
This bug did not make the OSP 8.0 release. It is being deferred to OSP 10.
One can use the "programname" field in rsyslog to also select which logs go where instead of facility. E.g. if $programname == 'haproxy' then action(type="omfile", file="/var/log/haproxy.log") stop endif Then be sure to order that before the openstack-swift.conf file. -peter
Re: comment #7, that's largely what I was thinking. In particular, I think that we should just modify all the configs to log using the "daemon" facility and then use programname to filtering to separate log files, and leave the local* facilities for use by the local administrator.
That seems like a reasonable solution.
This is fixed in OSP12