Skip to content

Commit

Permalink
Enable existing loggers
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Jan 29, 2024
1 parent 6f3252f commit 72a990f
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

LOGGING = {
"version": 1,
"disable_existing_loggers": True,
"disable_existing_loggers": False,
"formatters": {
"verbose": {
"format": "%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s",
Expand Down Expand Up @@ -146,20 +146,6 @@
},
}

LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"handlers": {
"console": {
"class": "logging.StreamHandler",
},
},
"root": {
"handlers": ["console"],
"level": "WARNING",
},
}

# Sentry
# ------------------------------------------------------------------------------
SENTRY_DSN = env("SENTRY_DSN")
Expand Down

0 comments on commit 72a990f

Please sign in to comment.