summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-ironic-conductor.service
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-04-27 15:41:26 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-05-01 14:14:19 +0000
commite81156ad54733d7bf048534f0961cf375057ad92 (patch)
treebaa8ff40e7beba775470e76dd09cb6ec8a173061 /openstack/usr/lib/systemd/system/openstack-ironic-conductor.service
parent0d8142e2eedc7a2d61a6bba21434b0988aac28f8 (diff)
downloaddefinitions-e81156ad54733d7bf048534f0961cf375057ad92.tar.gz
openstack: improve services' logging
The OpenStack services write their log to stderr even when use_syslog was set to True in the configuration file. This is then captured by journald, resulting in duplicated entries on the log. Set StandardOutput=null and StandardError=null in the unit files to prevent this. As the services log is being dumped on journald, there is no need to duplicate the log in separate log files, so remove --log-file from the unit files as well. Last but not least, enable writing to the syslog for Ironic and Keystone. Change-Id: I7808e8116fc92ecb807f700fd94c9ecf4ee13be2
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-ironic-conductor.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-ironic-conductor.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-ironic-conductor.service b/openstack/usr/lib/systemd/system/openstack-ironic-conductor.service
index 8ce3f840..b18f4abf 100644
--- a/openstack/usr/lib/systemd/system/openstack-ironic-conductor.service
+++ b/openstack/usr/lib/systemd/system/openstack-ironic-conductor.service
@@ -7,6 +7,8 @@ Wants=network-online.target
[Service]
Type=simple
User=ironic
+StandardOutput=null
+StandardError=null
ExecStart=/usr/bin/ironic-conductor --config-file /etc/ironic/ironic.conf
[Install]