From 6f82fd8ec90a4fa41d0be80830282a683c6cf255 Mon Sep 17 00:00:00 2001 From: Shachar Snapiri Date: Thu, 16 Nov 2017 08:50:49 +0200 Subject: [PATCH] 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 --- os_loganalyze/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_loganalyze/filter.py b/os_loganalyze/filter.py index b525134..04a4699 100644 --- a/os_loganalyze/filter.py +++ b/os_loganalyze/filter.py @@ -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