summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-nova-novncproxy.service
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-04-27 15:41:26 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-05-08 09:56:30 +0000
commit18bd5288629a1891b9c0a38bded6b5970c264175 (patch)
tree1c3776d5348f057bcc72422fcac015aaeedafe0c /openstack/usr/lib/systemd/system/openstack-nova-novncproxy.service
parent08b86b8d76c3abce0588387f50c213a8b5d23b2b (diff)
downloaddefinitions-18bd5288629a1891b9c0a38bded6b5970c264175.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-nova-novncproxy.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-novncproxy.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-novncproxy.service b/openstack/usr/lib/systemd/system/openstack-nova-novncproxy.service
index ecdadde2..8cbb20fd 100644
--- a/openstack/usr/lib/systemd/system/openstack-nova-novncproxy.service
+++ b/openstack/usr/lib/systemd/system/openstack-nova-novncproxy.service
@@ -7,6 +7,8 @@ Wants=network-online.target
[Service]
Type=simple
User=nova
+StandardOutput=null
+StandardError=null
ExecStart=/usr/bin/nova-novncproxy --config-file /etc/nova/nova.conf --web /usr/share/novnc
[Install]