Refactors logg to enable use of caplog.
This commit is contained in:
parent
7e0737a001
commit
0b64cd1fb8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user