Skip to content

Commit

Permalink
Merge pull request #15 from appknox/task-logger-root-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Praseetha-KR authored Oct 17, 2023
2 parents 0412ac1 + 9174163 commit c789547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aklogger/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
=====================
"""

root_logger = logging.getLogger("root")
root_logger = logging.getLogger("akroot")
root_stream_handler = logging.StreamHandler()

try:
from celery.utils.log import get_task_logger

root_logger = get_task_logger("root")
root_logger = get_task_logger("akroot")
except ImportError:
pass

Expand Down

0 comments on commit c789547

Please sign in to comment.