From e2444ccc21fc23c01d3daec6eaee3f818c336b7a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 3 Jan 2024 00:16:30 +0000 Subject: Do not log user information. * gn3/app.py (create_app): Do not log user information. --- gn3/app.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gn3/app.py b/gn3/app.py index 688cfb3..b20b450 100644 --- a/gn3/app.py +++ b/gn3/app.py @@ -52,11 +52,6 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask: # DO NOT log anything before this point logging.info("Guix Profile: '%s'.", os.environ.get("GUIX_PROFILE")) logging.info("Python Executable: '%s'.", sys.executable) - try: - logging.info("Effective User: '%s'.", getpass.getuser()) - except KeyError as kerr: - logging.debug("User Error: %s", kerr.args[0]) - logging.error(traceback.format_exc()) CORS( app, -- cgit v1.2.3