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.
This commit is contained in:
bmccandless
2020-04-28 14:37:41 -07:00
committed by GitHub
parent 05fcdaf93c
commit e495c571c3

View File

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