Skip to content

Commit

Permalink
fix maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
0RWilliams committed Nov 15, 2024
1 parent 3f82f46 commit 3ce6b54
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,17 @@
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"formatters": {
"asim_formatter": {
"()": ASIMFormatter,
},
},
# "formatters": {
# "asim_formatter": {
# "()": ASIMFormatter,
# },
# },
"handlers": {
"asim": {
"class": "logging.StreamHandler",
"formatter": "asim_formatter",
"filters": ["request_id_context"],
},
# "asim": {
# "class": "logging.StreamHandler",
# "formatter": "asim_formatter",
# # "filters": ["request_id_context"],
# },
"stdout": {
"class": "logging.StreamHandler",
"stream": sys.stdout,
Expand All @@ -118,31 +118,31 @@
"loggers": {
"django": {
"handlers": [
"asim",
"stdout",
],
"level": os.getenv("DJANGO_LOG_LEVEL", "INFO"),
"propagate": True,
},
"django.request": {
"handlers": [
"asim",
"stdout",
],
"level": os.getenv("DJANGO_LOG_LEVEL", "INFO"),
"propagate": True,
},
"requestlogs": {
"handlers": [
"asim",
"stdout",
],
"level": os.getenv("DJANGO_LOG_LEVEL", "INFO"),
"propagate": False,
},
},
"filters": {
"request_id_context": {
"()": "requestlogs.logging.RequestIdContext",
},
},
# "filters": {
# "request_id_context": {
# "()": "requestlogs.logging.RequestIdContext",
# },
# },
}

# Sentry
Expand Down

0 comments on commit 3ce6b54

Please sign in to comment.