Merge "Connect root logger to null handler by default"

This commit is contained in:
Zuul 2021-02-02 02:07:39 +00:00 committed by Gerrit Code Review
commit c2d11ff36a

View File

@ -36,6 +36,9 @@ _DEFAULT_SERVER_LOGGING_CONFIG = {
'level': 'INFO',
'formatter': 'simple',
},
'null': {
'class': 'logging.NullHandler',
}
},
'loggers': {
'nodepool': {
@ -55,7 +58,7 @@ _DEFAULT_SERVER_LOGGING_CONFIG = {
'level': 'WARN',
},
},
'root': {'handlers': []},
'root': {'handlers': ['null']},
}
_DEFAULT_SERVER_FILE_HANDLERS = {