From d4c4b64cd54e12db3cf38148eb61669317e7f69b Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Mon, 14 Aug 2023 18:20:32 -0400 Subject: [PATCH] loghelper: add newline to stdout header Signed-off-by: Eric Callahan --- moonraker/loghelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/loghelper.py b/moonraker/loghelper.py index 14cefc1..419a8c3 100644 --- a/moonraker/loghelper.py +++ b/moonraker/loghelper.py @@ -82,7 +82,7 @@ class LogManager: '[%(filename)s:%(funcName)s()] - %(message)s') stdout_hdlr.setFormatter(stdout_fmt) app_args_str = "\n".join([f"{k}: {v}" for k, v in app_args.items()]) - sys.stdout.write(f"\nApplication Info:\n{app_args_str}") + sys.stdout.write(f"\nApplication Info:\n{app_args_str}\n") self.file_hdlr: Optional[MoonrakerLoggingHandler] = None self.listener: Optional[logging.handlers.QueueListener] = None log_file: str = app_args.get('log_file', "")