Fixed PIL debug spam

This commit is contained in:
jtc42 2019-11-19 21:40:20 +00:00
parent a3716cf817
commit 83391f7edf
3 changed files with 10 additions and 3 deletions

View file

@ -45,7 +45,7 @@ if (__name__ == "__main__") or (not is_gunicorn):
# If imported, but not by gunicorn
print("Letting sys handle logs")
logger = logging.getLogger()
logger.setLevel(logging.INFO)
logger.setLevel(logging.DEBUG)
else:
# Direct standard Python logging to file and console
root = logging.getLogger()