Adjust log regex to parse "Unknown module".
This commit is contained in:
parent
ee8d538964
commit
be20001594
@ -53,7 +53,7 @@ class QuteProc(testprocess.Process):
|
|||||||
(?P<timestamp>\d\d:\d\d:\d\d)
|
(?P<timestamp>\d\d:\d\d:\d\d)
|
||||||
\ (?P<loglevel>VDEBUG|DEBUG|INFO|WARNING|ERROR)
|
\ (?P<loglevel>VDEBUG|DEBUG|INFO|WARNING|ERROR)
|
||||||
\ +(?P<category>\w+)
|
\ +(?P<category>\w+)
|
||||||
\ +(?P<module>\w+):(?P<function>\w+):(?P<line>\d+)
|
\ +(?P<module>(\w+|Unknown\ module)):(?P<function>\w+):(?P<line>\d+)
|
||||||
\ (?P<message>.+)
|
\ (?P<message>.+)
|
||||||
""", re.VERBOSE)
|
""", re.VERBOSE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user