Update SUPPORTS_SEV regex to support new devstack logs
The Devstack commit dde41d removes the "screen-" prefix from the openstack log filenames and thus no longer matches the regex for SUPPORTS_SEV. This commit makes "screen-" an optional match to accommodate the devstack change as well to support backwards compatibility. Change-Id: I3f4774d0ef374cc7d5940d184239cf953b3d6711
This commit is contained in:
parent
b820b06867
commit
f2b963b1a1
@ -19,7 +19,7 @@ import re
|
||||
|
||||
# which logs support severity
|
||||
SUPPORTS_SEV = re.compile(
|
||||
'(screen-(n-|c-|q-|g-|h-|ir-|ceil|key|sah|des|tr)' # openstack screen logs
|
||||
'((screen-)?(n-|c-|q-|g-|h-|ir-|ceil|key|sah|des|tr)' # openstack logs
|
||||
'|(keystone|tempest)\.txt|syslog)') # other things we understand
|
||||
|
||||
SYSLOGDATE = '\w+\s+\d+\s+\d{2}:\d{2}:\d{2}'
|
||||
|
Loading…
Reference in New Issue
Block a user