Handle screen-placement-api

Since Pike the placement-api logs show up under
screen-placement-api since placement-api is run
using uwsgi rather than Apache.

Change-Id: Ie5428066e6c185de2bd25e2e84823393c6b87d02
This commit is contained in:
Matt Riedemann 2017-11-13 14:36:03 -05:00
parent 5231f7c8cd
commit 33ee1b89b8
1 changed files with 2 additions and 2 deletions

View File

@ -23,12 +23,12 @@ 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-|df-|'
r'((screen-)?(n-|c-|g-|h-|ir-|ironic-|m-|o-|df-|placement-api|'
r'q-|neutron-|' # support both lib/neutron and lib/neutron-legacy logs
r'ceil|key|sah|des|tr)' # openstack logs
r'|(devstack\@)' # systemd logs
# other things we understand
r'|(keystone|placement-api|tempest)\.txt|syslog)')
r'|(keystone|tempest)\.txt|syslog)')
SYSLOGDATE = '\w+\s+\d+\s+\d{2}:\d{2}:\d{2}((\.|\,)\d{3,6})?'
DATEFMT = '\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}((\.|\,)\d{3,6})?'