Skip to content

Commit

Permalink
add celery task id chain
Browse files Browse the repository at this point in the history
  • Loading branch information
maskarb committed Jan 10, 2025
1 parent 5687d38 commit 2e425f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions koku/koku/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@
from oci.exceptions import ConfigFileNotFound

from . import database
from . import sentry
from .configurator import CONFIGURATOR
from .env import ENVIRONMENT


# Database
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases

Expand Down Expand Up @@ -370,7 +368,9 @@
"%(task_id)s %(task_parent_id)s %(task_root_id)s "
"%(message)s"
)
SIMPLE_FORMATTING = "[%(asctime)s] %(levelname)s %(task_root_id)s %(process)d %(message)s"
SIMPLE_FORMATTING = (
"[%(asctime)s] %(levelname)s %(task_root_id)s %(task_parent_id)s %(task_id)s %(process)d %(message)s"
)

LOG_DIRECTORY = ENVIRONMENT.get_value("LOG_DIRECTORY", default=BASE_DIR)
DEFAULT_LOG_FILE = os.path.join(LOG_DIRECTORY, "app.log")
Expand Down

0 comments on commit 2e425f6

Please sign in to comment.