Completely disable ROS from logging to log files?
I am trying to disable ROS from creating any ROS files but I haven't been able to find any solution that actually works.
I tried
log4j.threshold=OFF
as described in http://wiki.ros.org/rosconsole but that doesn't work for me.
I also tried setting export ROSOUT_DISABLE_FILE_LOGGING=True
but that didn't help either.
I am using ROS melodic and I am using bazel to build the package not CMake.
I am completely stuck is there any other way for ROS to not generate any log files.
Take a look at this previous question. It’s quite old but may help you: https://answers.ros.org/question/9627...