Enable keystone logging on debian
This commit enables keystone logging to /var/log/keystone/keystone.log and makes the default log level as INFO. Test plan: PASS: Full build, install, bootstrap and unlock PASS: Run authenticated commands such as 'system host-list' and verify that it gets logged to /var/log/keystone/keystone.log Story: 2011106 Task: 50067 Signed-off-by: Rei Oliveira <Reinildes.JoseMateusOliveira@windriver.com> Change-Id: I8cb1dce87ff1a46253573c48ce340be902292008
This commit is contained in:
parent
494fbef3bb
commit
29471b23fb
|
@ -174,6 +174,7 @@ keystone::enable_bootstrap: false
|
|||
keystone::sync_db: false
|
||||
keystone::enable_proxy_headers_parsing: true
|
||||
keystone::log_file: /dev/null
|
||||
keystone::logging::log_config_append : '/etc/keystone/logging.conf'
|
||||
|
||||
keystone::endpoint::default_domain: 'Default'
|
||||
keystone::endpoint::version: 'v3'
|
||||
|
|
|
@ -311,6 +311,14 @@ class openstack::keystone::bootstrap(
|
|||
keystone_role { '_member_':
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
ini_setting { 'Set keystone default log level to INFO':
|
||||
ensure => present,
|
||||
path => '/etc/keystone/logging.conf',
|
||||
section => 'logger_root',
|
||||
setting => 'level',
|
||||
value => 'INFO',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue