This commit is contained in:
Stéphane Bidoul authored and Guewen Baconnier committed 2020-06-22 07:50:44 +02:00
1 parent 9cf4bf2171
commit 522937c3b5
1 file changed
+1
+1
View File
@@ -29,6 +29,7 @@ class OdooJsonFormatter(jsonlogger.JsonFormatter):
record.pid = os.getpid()
record.dbname = getattr(threading.currentThread(), 'dbname', '?')
record.request_id = getattr(threading.current_thread(), 'request_uuid', None)
record.uid = getattr(threading.current_thread(), 'uid', None)
_super = super(OdooJsonFormatter, self)
return _super.add_fields(log_record, record, message_dict)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.