Adjust log regex to parse "Unknown module".

This commit is contained in:
Florian Bruhin 2015-10-14 07:51:58 +02:00
parent ee8d538964
commit be20001594

View File

@ -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)