Fixed log error messages from keystone to syslog.

Rsyslog adapted to filter keystone error log messages.

Related bug: 1516462

Change-Id: I4d8d4280dc8fef870d56d8466ed466241ee18e64
This commit is contained in:
akwasniewska 2015-11-17 19:07:34 +01:00
parent b647535e33
commit 206455120f
2 changed files with 4 additions and 1 deletions

View File

@ -61,7 +61,8 @@ $template NeutronL3AgentFile,"/var/log/neutron/neutron-l3-agent.log"
:syslogtag,contains,"neutron-l3-agent" ?NeutronL3AgentFile
$template KeystoneErrorFile,"/var/log/keystone/keystone-error.log"
:syslogtag,contains,"keystone-error" ?KeystoneErrorFile
if ($syslogtag contains "keystone-error") \
or ($syslogtag contains "keystone" and $syslogseverity <=4) then ?KeystoneErrorFile
$template KeystoneAccessFile,"/var/log/keystone/keystone-access.log"
:syslogtag,contains,"keystone-access" ?KeystoneAccessFile

View File

@ -1,6 +1,8 @@
[DEFAULT]
verbose = {{ keystone_logging_verbose }}
debug = {{ keystone_logging_debug }}
syslog_log_facility=LOG_LOCAL0
use_syslog = True
admin_token = {{ keystone_admin_token }}