Skip to content

Commit 2755814

Browse files
committed
Remove unneeded comments
1 parent 13e0006 commit 2755814

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

config/settings/loggers/setup.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,6 @@ def setup_logging():
121121
},
122122
},
123123
"handlers": {
124-
# Important notes regarding handlers.
125-
#
126-
# 1. Make sure you use handlers adapted for your project.
127-
# These handlers configurations are only examples for this library.
128-
# See python's logging.handlers: https://docs.python.org/3/library/logging.handlers.html
129-
#
130-
# 2. You might also want to use different logging configurations depending of the environment.
131-
# Different files (local.py, tests.py, production.py, ci.py, etc.) or only conditions.
132-
# See https://docs.djangoproject.com/en/dev/topics/settings/#designating-the-settings
133124
"console": {
134125
"class": "logging.StreamHandler",
135126
"formatter": formatter,

styleguide_example/tasks/celery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
@setup_logging.connect
3232
def receiver_setup_logging(loglevel, logfile, format, colorize, **kwargs): # pragma: no cover
33-
logging.config.dictConfig(LoggersSetup.setup_logging())
3433
LoggersSetup.setup_structlog()
34+
logging.config.dictConfig(LoggersSetup.setup_logging())
3535

3636

3737
@receiver(signals.bind_extra_task_metadata)

0 commit comments

Comments
 (0)