소스 검색

Fix CELERYD_HIJACK_ROOT_LOGGER description

`CELERYD_HIJACK_ROOT_LOGGER` doesn't actually reset e.g. logger
levels and filters, or handlers and formatters attached to loggers
other than the root logger. Just removes any handlers already
attached to the root logger. This says so more clearly.
Gunnlaugur Thor Briem 12 년 전
부모
커밋
df77613335
1개의 변경된 파일4개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 5
      docs/configuration.rst

+ 4 - 5
docs/configuration.rst

@@ -1387,11 +1387,10 @@ CELERYD_HIJACK_ROOT_LOGGER
 
 .. versionadded:: 2.2
 
-By default any previously configured logging options will be reset,
-because the Celery programs "hijacks" the root logger.
-
-If you want to customize your own logging then you can disable
-this behavior.
+By default any previously configured handlers on the root logger will be
+removed. If you want to customize your own logging handlers, then you
+can disable this behavior by setting
+`CELERYD_HIJACK_ROOT_LOGGER = False`.
 
 .. note::