Completely disable ROS from logging to log files?

asked 2021-11-05 04:38:56 -0600

bob-00 gravatar image

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=OFFas 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.

edit retag flag offensive close merge delete

Comments

Take a look at this previous question. It’s quite old but may help you: https://answers.ros.org/question/9627...

osilva gravatar image osilva  ( 2021-11-05 15:32:03 -0600 )edit