Skip to content

Commit

Permalink
jovian-greeter: Change default logging level
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
samueldr committed Nov 2, 2024
1 parent 446559f commit aad17e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/jovian-greeter/greeter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
]
Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit aad17e6

Please sign in to comment.