Support severity filtering for dragonflow logs

Adding the logs of the dragonflow project
(https://github.com/openstack/dragonflow) to the list of logs that
support filtering by severity, to allow better log analyzing for the
dragonflow project.

Change-Id: Id71c25e1987c589cdcd2fc226cfc4755c17cf7dd
This commit is contained in:
Shachar Snapiri 2017-11-16 08:50:49 +02:00
parent 9dff1f2af9
commit 6f82fd8ec9
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ 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-|g-|h-|ir-|ironic-|m-|o-|'
r'((screen-)?(n-|c-|g-|h-|ir-|ironic-|m-|o-|df-|'
r'q-|neutron-|' # support both lib/neutron and lib/neutron-legacy logs
r'ceil|key|sah|des|tr)' # openstack logs
r'|(devstack\@)' # systemd logs