From e495c571c3b32ec53179e6eb42c059cf5c134e73 Mon Sep 17 00:00:00 2001 From: bmccandless Date: Tue, 28 Apr 2020 14:37:41 -0700 Subject: [PATCH] Change the EB log level from DEBUG to INFO (#1435) The log level was mistakenly set to DEBUG, which sent out tons of less than useful messages. INFO works much more useful, and much less verbose. --- server/eb/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/eb/app.py b/server/eb/app.py index 912990ba..be9f20fa 100644 --- a/server/eb/app.py +++ b/server/eb/app.py @@ -14,7 +14,7 @@ if os.path.isdir("/opt/python/log"): # This is the standard location where Amazon EC2 instances store the application logs. logging.basicConfig( filename="/opt/python/log/app.log", - level=logging.DEBUG, + level=logging.INFO, format="%(asctime)s.%(msecs)03d %(levelname)s %(module)s - %(funcName)s: %(message)s", datefmt="%Y-%m-%d %H:%M:%S", )