Whitelist ironic- prefix in filter.py

While ironic itself uses ir- prefix, ironic-inspector used ironic-.
This change will allow it to have better-looking logs in gate.

Change-Id: Id692f64c7fcf2e7c70c264e9a4e6f0d38d48a311
This commit is contained in:
Dmitry Tantsur 2015-12-09 13:25:22 +01:00
parent 5828d818ed
commit c824312cdd
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}'