Commit graph

6 commits

Author SHA1 Message Date
mathieui
dafe5b9e24 fix: logger: improve typing, globals and tests 2021-04-03 14:01:34 +02:00
Emmanuel Gil Peyrot
e5e0533b6e logger: Log the JID during a parsing error. 2019-02-07 02:31:15 +01:00
mathieui
057f7ac9f5
Refactor logger.py to make it more testable
Also fixes:
- release the message log mmap when we are done with it
- Write the right character in log lines
2017-11-21 22:40:43 +01:00
mathieui
225f300ef3 Remove some unused imports 2017-10-14 13:00:42 +02:00
mathieui
9f1c0c3d54 Rename parse_message_line to parse_log_line 2017-09-28 00:59:45 +02:00
mathieui
444af2be6f Add a simple test case 2017-09-28 00:57:17 +02:00