From: Erik Andresen Date: Sat, 3 Mar 2018 17:38:21 +0000 (+0100) Subject: logging: Use null handler for logger_root X-Git-Url: https://defiant.homedns.org/gitweb/?a=commitdiff_plain;h=0ef90df168c1e41dfe6218b5555c05863ac72e8d;p=ros_wild_thumper.git logging: Use null handler for logger_root --- 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