Fix logging.conf: No section: 'logger_'

Caused by trailing comma on keys= line

Change-Id: Ie0a87642acbeb2a019f462889e8f8de84816377e
Closes-Bug: #1365677
This commit is contained in:
Mark Vanderwiel 2014-09-04 14:39:25 -05:00
parent c2252807d4
commit 7697c97231
3 changed files with 3 additions and 2 deletions

@ -4,6 +4,7 @@ This file is used to list changes made in each version of cookbook-openstack-com
## 10.1.0 ## 10.1.0
* Adding identity admin bind host endpoint to allow flexibility and consistency * Adding identity admin bind host endpoint to allow flexibility and consistency
* Fix logging.conf No section error
## 10.0.3 ## 10.0.3
* Adding identity internal endpoint variables to support new endpoint usage in identity cookbook * Adding identity internal endpoint variables to support new endpoint usage in identity cookbook

@ -74,7 +74,7 @@ describe 'openstack-common::logging' do
['[loggers]', ['[loggers]',
'keys=root,ceilometer,cinder,glance,horizon,keystone,nova,'\ 'keys=root,ceilometer,cinder,glance,horizon,keystone,nova,'\
'neutron,swift,trove,amqplib,sqlalchemy,boto,suds,eventletwsgi,'\ 'neutron,swift,trove,amqplib,sqlalchemy,boto,suds,eventletwsgi,'\
'nova_api_openstack_wsgi,nova_osapi_compute_wsgi_server,'], 'nova_api_openstack_wsgi,nova_osapi_compute_wsgi_server'],
['[logger_root]', ['[logger_root]',
'level=NOTSET', 'level=NOTSET',
'handlers=devel'], 'handlers=devel'],

@ -1,5 +1,5 @@
[loggers] [loggers]
keys=<%= node["openstack"]["logging"]['loggers'].keys.join(',') %>,<%= node["openstack"]["logging"]["ignore"].map{|k,v| k.gsub(/\W/, '_')}.join(',') %> keys=<%= (node["openstack"]["logging"]['loggers'].keys + node["openstack"]["logging"]["ignore"].map{|k,v| k.gsub(/\W/, '_')}).join(',') %>
[formatters] [formatters]
keys=<%= node["openstack"]["logging"]['formatters'].keys.join(',') %> keys=<%= node["openstack"]["logging"]['formatters'].keys.join(',') %>