mirror of
https://github.com/systemd/systemd.git
synced 2024-10-30 06:25:37 +03:00
systemd-python: MESSAGE_ID as UUID for Journal
This commit is contained in:
parent
2d0603bd97
commit
3ce2cc25bb
@ -22,6 +22,7 @@
|
||||
import datetime
|
||||
import functools
|
||||
import sys
|
||||
import uuid
|
||||
import traceback as _traceback
|
||||
import os as _os
|
||||
import logging as _logging
|
||||
@ -39,6 +40,7 @@ class Journal(_Journal):
|
||||
else:
|
||||
self.default_call = functools.partial(unicode, encoding='utf-8')
|
||||
self.call_dict = {
|
||||
'MESSAGE_ID': uuid.UUID,
|
||||
'PRIORITY': int,
|
||||
'LEADER': int,
|
||||
'SESSION_ID': int,
|
||||
|
Loading…
Reference in New Issue
Block a user