mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
systemd-python: MESSAGE_ID as UUID for Journal
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
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,
|
||||
|
||||
Reference in New Issue
Block a user