logging.get -> logging.getLogger

This commit is contained in:
Oliver Walters 2021-07-29 23:44:52 +10:00
parent 3806e3ebeb
commit d9f4c34a42

View File

@ -3,7 +3,7 @@ import os
import logging import logging
logger = logging.get('inventree') logger = logging.getLogger('inventree')
workers = os.environ.get('INVENTREE_GUNICORN_WORKERS', None) workers = os.environ.get('INVENTREE_GUNICORN_WORKERS', None)