Merge "Logs from keystone.common.wsgi are put in syslog instead /var/log/messages"

This commit is contained in:
Jenkins 2016-01-13 17:36:31 +00:00 committed by Gerrit Code Review
commit bd6277a2e8
3 changed files with 10 additions and 0 deletions

View File

@ -166,6 +166,11 @@ class openstack::logging (
content => template("${module_name}/20-keystone.conf.erb"),
}
file { "${::rsyslog::params::rsyslog_d}21-keystone-common-wsgi.conf":
ensure => present,
content => template("${module_name}/21-keystone-common-wsgi.conf.erb"),
}
file { "${::rsyslog::params::rsyslog_d}30-cinder.conf":
ensure => present,
content => template("${module_name}/30-cinder.conf.erb"),

View File

@ -51,6 +51,7 @@ describe 'openstack::logging' do
should contain_rsyslog__imfile('61-mco_agent_debug')
['10-nova',
'20-keystone',
'21-keystone-common-wsgi',
'30-cinder',
'40-glance',
'50-neutron',

View File

@ -0,0 +1,4 @@
# managed by puppet
:msg, contains, "keystone.common.wsgi" -/var/log/syslog
& ~