logging: Use null handler for logger_root
authorErik Andresen <erik@vontaene.de>
Sat, 3 Mar 2018 17:38:21 +0000 (18:38 +0100)
committerErik Andresen <erik@vontaene.de>
Sat, 3 Mar 2018 17:38:21 +0000 (18:38 +0100)
config/python_logging.conf

index 9240734..1d3b656 100644 (file)
@@ -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