summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-nova-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-04-29 16:09:37 +0000
commit88f5d47d67ccd09e589051e2a7503213e172de82 (patch)
treeed4613f4251718e7bbf6c187d9ac4c3bb91cfcd5 /openstack/usr/lib/systemd/system/openstack-nova-conductor.service
parent86dd53889c69b2e9ded6578cc125d5efc83aba05 (diff)
downloaddefinitions-88f5d47d67ccd09e589051e2a7503213e172de82.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.
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-nova-conductor.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-conductor.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-conductor.service b/openstack/usr/lib/systemd/system/openstack-nova-conductor.service
index bf8e0631..2f7ca7b5 100644
--- a/openstack/usr/lib/systemd/system/openstack-nova-conductor.service
+++ b/openstack/usr/lib/systemd/system/openstack-nova-conductor.service
@@ -8,6 +8,8 @@ Requires=libvirtd.service
[Service]
Type=simple
User=nova
+StandardOutput=null
+StandardError=null
ExecStart=/usr/bin/nova-conductor --config-file /etc/nova/nova.conf --logfile /var/log/nova/conductor.log
[Install]