From bd147abb3f0e8ecf7f1fbb4e50403f5fec23a780 Mon Sep 17 00:00:00 2001 From: bmccandless Date: Wed, 29 Jul 2020 16:03:47 -0700 Subject: [PATCH] Fix eb logging. (#1692) It now logs the requests to the file Fixes #1611 --- server/eb/app.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/eb/app.py b/server/eb/app.py index 438cd9bb..ce3a77b6 100644 --- a/server/eb/app.py +++ b/server/eb/app.py @@ -19,9 +19,6 @@ if os.path.isdir("/opt/python/log"): datefmt="%Y-%m-%d %H:%M:%S", ) -# echo the logs to stdout. Useful for local testing -logging.getLogger().addHandler(logging.StreamHandler(sys.stdout)) - SERVERDIR = os.path.dirname(os.path.realpath(__file__)) sys.path.append(SERVERDIR)