Refactors logg to enable use of caplog.

This commit is contained in:
philip 2022-01-04 13:39:26 +03:00
parent 7e0737a001
commit 0b64cd1fb8
Signed by untrusted user: mango-habanero
GPG Key ID: B00CE9034DA19FB7

View File

@ -7,7 +7,7 @@ import celery
celery_app = celery.current_app
logg = celery_app.log.get_default_logger()
local_logg = logging.getLogger(__name__)
local_logg = logging.getLogger()
@celery_app.task