diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-04-27 15:41:26 +0000 |
---|---|---|
committer | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-05-01 14:14:19 +0000 |
commit | e81156ad54733d7bf048534f0961cf375057ad92 (patch) | |
tree | baa8ff40e7beba775470e76dd09cb6ec8a173061 /openstack/usr/share/openstack/keystone/keystone.conf | |
parent | 0d8142e2eedc7a2d61a6bba21434b0988aac28f8 (diff) | |
download | definitions-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/share/openstack/keystone/keystone.conf')
-rw-r--r-- | openstack/usr/share/openstack/keystone/keystone.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/usr/share/openstack/keystone/keystone.conf b/openstack/usr/share/openstack/keystone/keystone.conf index 3d242a50..4e04c81b 100644 --- a/openstack/usr/share/openstack/keystone/keystone.conf +++ b/openstack/usr/share/openstack/keystone/keystone.conf @@ -421,7 +421,7 @@ rpc_backend=rabbit # Use syslog for logging. Existing syslog format is DEPRECATED # during I, and will change in J to honor RFC5424. (boolean # value) -#use_syslog=false +use_syslog=True # (Optional) Enables or disables syslog rfc5424 format for # logging. If enabled, prefixes the MSG part of the syslog |