How can I completely disable writing logs to filesystem?
I don't want logs written to the filesystem. The system is an embedded robot platform (Roboard) running from an SD card, ideally the filesystem would be mounted read only. I also don't want to divert the logs to a ramfs.
I still would like to use rxconsole and the 'live' logging facilities though.
From what I gathered on ROS answers I should look at the $ROS_ROOT/config directory.
For rosconsole.config: I looked at http://www.ros.org/wiki/rosconsole and it appears that one can compile out logging but does that kill the rxconsole facility then? The 5 logging levels described there don't include a NONE. But when I put NONE into the rosconsole.config, roslaunch reports that no logging facilities are available (good) but then dumps all logs of all levels to the console (bad)
For python_logging.conf According to http://www.ros.org/wiki/rospy/Overvie... I should look at http://docs.python.org/library/loggin... but I am not clear of how to disable things. I tried deleting the loggers declared in this config file, and changing their levels to be quieter, but neither seemed to have any effect.
Last ditch effort to blackhole the log directory to /dev/null of course failed ;)
I used Daniel Stonier's suggestion.