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:
parent
b647535e33
commit
206455120f
@ -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
|
||||
|
@ -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 }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user