diff options
author | Rich Megginson <rmeggins@redhat.com> | 2017-05-09 11:04:10 -0600 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2017-05-09 21:47:34 -0600 |
commit | 02a5df1c54c501ebd525b9337c5a3ade04fe31e4 (patch) | |
tree | 3eaf4a0298c4573781fd6f3c0a304a3d7d3748f2 /roles/calico/templates/calico.service.j2 | |
parent | 5d408eeca04cb3c60a7e4918218e87fd43e57861 (diff) | |
download | openshift-02a5df1c54c501ebd525b9337c5a3ade04fe31e4.tar.gz openshift-02a5df1c54c501ebd525b9337c5a3ade04fe31e4.tar.bz2 openshift-02a5df1c54c501ebd525b9337c5a3ade04fe31e4.tar.xz openshift-02a5df1c54c501ebd525b9337c5a3ade04fe31e4.zip |
use docker_log_driver and /etc/docker/daemon.json to determine log driver
We check the following variables, if they are defined, in the order listed
below, to see if the journald log driver is set:
* openshift_hosted_logging_use_journal
* docker_log_driver
* openshift.docker.log_driver
* openshift.docker.options (look for '--log-driver=journald')
If none of these are set, we leave openshift_logging_fluentd_use_journal
undefined, and mount both /etc/sysconfig/docker and /etc/docker
(for daemon.json) so that fluentd can determine which log driver is
being used.
Diffstat (limited to 'roles/calico/templates/calico.service.j2')
0 files changed, 0 insertions, 0 deletions