There was an error while loading. Please reload this page.
1 parent 262eeaa commit 67d304dCopy full SHA for 67d304d
1 file changed
src/pds/ingress/util/log_util.py
@@ -395,12 +395,12 @@ def flush(self):
395
try:
396
# Strip ANSI escape codes from log messages before sending to CloudWatch
397
ansi_escape = re.compile(r'\x1b\[[0-9;]*m')
398
-
+
399
log_events = [
400
{
401
"timestamp": int(round(record.created)) * MILLI_PER_SEC,
402
"message": ansi_escape.sub(
403
- '',
+ '',
404
f"{record.levelname} {record.threadName} {record.name}:{record.funcName} {record.message}"
405
),
406
0 commit comments