From aad17e6365eb2296c5d7c19ff8229ff4979be273 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Fri, 1 Nov 2024 23:42:36 -0400 Subject: [PATCH] jovian-greeter: Change default logging level And promote session type message into `info`. The net effect is we're now losing the annoying plymouth exception when it's okay that it can't be ran. It's just noise. --- pkgs/jovian-greeter/greeter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/jovian-greeter/greeter.py b/pkgs/jovian-greeter/greeter.py index 96dcc71d..f0859079 100644 --- a/pkgs/jovian-greeter/greeter.py +++ b/pkgs/jovian-greeter/greeter.py @@ -195,7 +195,7 @@ def handle_exception(exc_type, exc_value, exc_traceback): sys.excepthook = handle_exception if __name__ == '__main__': - logging.basicConfig(level=logging.DEBUG) + logging.basicConfig(level=logging.INFO) logging.root.handlers = [ JournalHandler(SYSLOG_IDENTIFIER="jovian-greeter") ] @@ -226,7 +226,7 @@ def handle_exception(exc_type, exc_value, exc_traceback): logging.error('No sessions found') sys.exit(1) - logging.debug(f'Found {session.TYPE} session') + logging.info(f'Found {session.TYPE} session') command = session.get_command() environment = session.get_environment()