Skip to content

Commit 828545d

Browse files
committed
fixup! logging: update MozLogFormatter to output MozLog
1 parent cfcb2ec commit 828545d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lando/main/logging.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ def format(self, record: logging.LogRecord) -> str:
7777
"pid": record.process,
7878
"source": record.name,
7979
# log action
80-
"level": self.PRIORITY.get(record.levelname, self.SL_WARNING),
81-
"message": record.msg,
80+
"level": record.levelname,
81+
"message": str(record.msg),
8282
# Old format
8383
"EnvVersion": self.MOZLOG_ENVVERSION,
8484
"Hostname": self.hostname,

0 commit comments

Comments
 (0)