Skip to content
Snippets Groups Projects
Commit 20645512 authored by akwasniewska's avatar akwasniewska
Browse files

Fixed log error messages from keystone to syslog.

Rsyslog adapted to filter keystone error log messages.

Related bug: 1516462

Change-Id: I4d8d4280dc8fef870d56d8466ed466241ee18e64
parent b647535e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
[DEFAULT]
verbose = {{ keystone_logging_verbose }}
debug = {{ keystone_logging_debug }}
syslog_log_facility=LOG_LOCAL0
use_syslog = True
admin_token = {{ keystone_admin_token }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment