]> defiant.homedns.org Git - ros_wild_thumper.git/commitdiff
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 9240734e487341e9caf5c1dce418748c45903240..1d3b6564d6cd38125a9a046b1df958307701f434 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