From c3d27900e1d074984677205da18903eda4d2d598 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 5 Apr 2023 20:16:10 -0400 Subject: [PATCH] Update __main__.py --- src/gam/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gam/__main__.py b/src/gam/__main__.py index 853ea01f..869ece56 100644 --- a/src/gam/__main__.py +++ b/src/gam/__main__.py @@ -21,6 +21,7 @@ With GAM you can programmatically create users, turn on/off services for users l For more information, see https://jaylee.us/gam """ +import logging import sys # Note that this file (and only this file) should remain compatible @@ -49,6 +50,7 @@ def main(): from multiprocessing import set_start_method set_start_method('fork') import gam + logging.basicConfig(stream=sys.stdout, level=logging.DEBUG) sys.exit(gam.ProcessGAMCommand(sys.argv))