aboutsummaryrefslogtreecommitdiff
path: root/gn3/app.py
diff options
context:
space:
mode:
authorArun Isaac2024-01-03 00:16:30 +0000
committerArun Isaac2024-01-03 00:17:49 +0000
commite2444ccc21fc23c01d3daec6eaee3f818c336b7a (patch)
tree29eea92010de4179784ae794e8d3fd0dc6133930 /gn3/app.py
parent3630c81c0745930bec498018eb31fc2002529c58 (diff)
downloadgenenetwork3-e2444ccc21fc23c01d3daec6eaee3f818c336b7a.tar.gz
Do not log user information.
* gn3/app.py (create_app): Do not log user information.
Diffstat (limited to 'gn3/app.py')
-rw-r--r--gn3/app.py5
1 files changed, 0 insertions, 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,