From 0ef90df168c1e41dfe6218b5555c05863ac72e8d Mon Sep 17 00:00:00 2001 From: Erik Andresen Date: Sat, 3 Mar 2018 18:38:21 +0100 Subject: [PATCH] logging: Use null handler for logger_root --- config/python_logging.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/python_logging.conf b/config/python_logging.conf index 9240734..1d3b656 100644 --- a/config/python_logging.conf +++ b/config/python_logging.conf @@ -2,14 +2,14 @@ keys=root, rosout [handlers] -keys=streamHandler +keys=fileHandler,streamHandler,nullHandler [formatters] keys=defaultFormatter [logger_root] level=INFO -handlers=streamHandler +handlers=nullHandler [logger_rosout] level=INFO @@ -31,5 +31,9 @@ formatter=defaultFormatter # colorize output flag args=(True,) +[handler_nullHandler] +class=NullHandler +args=() + [formatter_defaultFormatter] format=[%(name)s][%(levelname)s] %(asctime)s: %(message)s -- 2.39.5