let the date field include µS
The apache error logs formatted by keystone go to µS instead of mS. Because of which the parser doesn't work on keystone logs. Normalizing the apache logs might be possible, however allowing this to work in the mean time seems reasonable. Change-Id: I7627c52d492de2dcba524c6da3bed69f94820932
This commit is contained in:
parent
6589304a7c
commit
b820b06867
@ -23,7 +23,7 @@ SUPPORTS_SEV = re.compile(
|
||||
'|(keystone|tempest)\.txt|syslog)') # other things we understand
|
||||
|
||||
SYSLOGDATE = '\w+\s+\d+\s+\d{2}:\d{2}:\d{2}'
|
||||
DATEFMT = '\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}((\.|\,)\d{3})?'
|
||||
DATEFMT = '\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}((\.|\,)\d{3,6})?'
|
||||
STATUSFMT = '(DEBUG|INFO|WARNING|ERROR|TRACE|AUDIT)'
|
||||
|
||||
OSLO_LOGMATCH = '^(?P<date>%s)(?P<line>(?P<pid> \d+)? (?P<status>%s).*)' % \
|
||||
|
Loading…
Reference in New Issue
Block a user