Skip to content

Commit

Permalink
Merge pull request #219 from Jovian-Experiments/logging-oops
Browse files Browse the repository at this point in the history
jovian-greeter: actually set up logging
  • Loading branch information
K900 authored Nov 17, 2023
2 parents d4978a4 + 332e223 commit 74fdef8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/jovian-greeter/greeter.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ def _find_sessions(self, sessions: Iterable[str]) -> Optional[Session]:
return None

if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG)

if len(sys.argv) != 2:
logging.error("Usage: jovian-greeter <user>")
sys.exit(1)
Expand Down

0 comments on commit 74fdef8

Please sign in to comment.