浏览代码

Add propagate=0 for loggers in logging.conf-sample

Otherwise messages from zuul and gerrit loggers are printed
twice: from the logger and from root logger.

Change-Id: I377758d4b70e250f8b2ba281cd0dabcf12555b62
tags/3.12.0
Vitaliy Lotorev 2 个月前
父节点
当前提交
423713febd
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      etc/logging.conf-sample

+ 2
- 0
etc/logging.conf-sample 查看文件

@@ -15,11 +15,13 @@ handlers=console
level=DEBUG
handlers=debug,normal
qualname=zuul
propagate=0

[logger_gerrit]
level=DEBUG
handlers=debug,normal
qualname=gerrit
propagate=0

[handler_console]
level=WARNING

正在加载...
取消
保存