Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit b5544c6

Browse files
fix: get the real timestamp
1 parent 338aa06 commit b5544c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

utils/logging_configuration.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ class BaseLogger(JsonFormatter):
99
def add_fields(self, log_record, record, message_dict):
1010
super(BaseLogger, self).add_fields(log_record, record, message_dict)
1111

12-
log_record["asctime"] = "meowasc"
13-
log_record["utctime"] = "meowutc"
12+
log_record["utctime"] = log_record.get('asctime')
1413

1514
def format_json_on_new_lines(self, json_str):
1615
# Parse the input JSON string

0 commit comments

Comments
 (0)