Merge "Whitelist ironic- prefix in filter.py"

This commit is contained in:
Jenkins 2016-05-16 13:13:28 +00:00 committed by Gerrit Code Review
commit 2fd29fe305
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ import os_loganalyze.util as util
# which logs support severity
SUPPORTS_SEV = re.compile(
r'/' # this uses an re.search so anchor the string
r'((screen-)?(n-|c-|q-|g-|h-|ir-|m-|ceil|key|sah|des|tr)' # openstack logs
r'((screen-)?(n-|c-|q-|g-|h-|ir-|ironic-|m-|'
r'ceil|key|sah|des|tr)' # openstack logs
r'|(keystone|tempest)\.txt|syslog)') # other things we understand
SYSLOGDATE = '\w+\s+\d+\s+\d{2}:\d{2}:\d{2}'