From da3f885aa6751ee268b73ab5bae04f3a57e3f03f Mon Sep 17 00:00:00 2001 From: Carlos Scheidegger Date: Thu, 3 Oct 2024 10:00:44 -0700 Subject: [PATCH] flush log files at every print to avoid buffering issues --- src/core/log.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/log.ts b/src/core/log.ts index 0661ce9831..bfc10bca5e 100644 --- a/src/core/log.ts +++ b/src/core/log.ts @@ -238,6 +238,7 @@ export class LogFileHandler extends FileHandler { // Ignore any messages that are blank if (msg !== "") { this.logger.log(msg); + this.flush(); } } }