Fixed PIL debug spam
This commit is contained in:
parent
a3716cf817
commit
83391f7edf
3 changed files with 10 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue