commit 4e193a7d64c5e76d166e2cbd2d6d69b308eb0b8c
Author: Ian Cordasco <email address hidden>
Date: Tue Aug 16 14:21:38 2016 -0500
Set use_stderr to False for all services
oslo.log has a setting to log to stderr as well as a log file and
defaults it to True. This causes OpenStack Ansible to log each service's
logs twice: once to /var/log/{{ service }}/{{ binary-name }}.log and
once to /var/log/upstart/{{ binary-name }}.log because upstart views
each log event on stderr as a priority. Defaulting this to False means
we reduce the duplication of log events on each container and that the
upstart logs are actually informative rather than confusing.
Reviewed: https:/ /review. openstack. org/356107 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=4e193a7d64c 5e76d166e2cbd2d 6d69b308eb0b8c
Committed: https:/
Submitter: Jenkins
Branch: liberty
commit 4e193a7d64c5e76 d166e2cbd2d6d69 b308eb0b8c
Author: Ian Cordasco <email address hidden>
Date: Tue Aug 16 14:21:38 2016 -0500
Set use_stderr to False for all services
oslo.log has a setting to log to stderr as well as a log file and
defaults it to True. This causes OpenStack Ansible to log each service's
logs twice: once to /var/log/{{ service }}/{{ binary-name }}.log and
once to /var/log/upstart/{{ binary-name }}.log because upstart views
each log event on stderr as a priority. Defaulting this to False means
we reduce the duplication of log events on each container and that the
upstart logs are actually informative rather than confusing.
Change-Id: I9d2b2ca74fa75b 7ec38de4b6fe01f df73af03fe2
Closes-bug: 1588051