Fix eb logging. (#1692)

It now logs the requests to the file

Fixes #1611
This commit is contained in:
bmccandless
2020-07-29 16:03:47 -07:00
committed by GitHub
parent 5633d7c761
commit bd147abb3f

View File

@@ -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)