Deactivate warnings


I tried to remove the logs of the warnings using the carbs settings specified in this issue How to stop printing warning level messages to console for Isaac sim? - #3 by Hammad_M However, the warning are still printed. Here is my code, what do I do wrong?

from omni.isaac.kit import SimulationApp
headless = False
simulation_app = SimulationApp({"headless": headless})  # we can also run as headless.
import logging
import carb


l = carb.logging.LEVEL_ERROR
carb.settings.get_settings().set("/log/level", l)
carb.settings.get_settings().set("/log/fileLogLevel", l)
carb.settings.get_settings().set("/log/outputStreamLevel", l)

# This logged error is printed as it should
# This warning is printed but should not

@alempereur did you get it to work. I can’t get it to work either.

No I still have the problem

Hi - Sorry for the delay in the response. Let us know if you still having this issue/question with the latest Isaac Sim 2022.2.1 release.

Hi, the problem still appears.

1 Like

I still get the problem.
I use Isaac Sim 2023.1.1.

This is part of my code.

import carb

carb.settings.get_settings().set_string("/log/level", "Error")
carb.settings.get_settings().set_string("/log/fileLogLevel", "Error")
carb.settings.get_settings().set_string("/log/outputStreamLevel", "Error")

This is part of output about dictionary.

'log': {'level': 'Error', 'outputStreamLevel': 'Error', 'debugConsoleLevel': 'Warning', 'fileLogLevel': 'Error',

This output shows that the settings are changed but are not enabled.
How can I enable the settings?

Thank you.

I cannot deactivate warining with “import carb”.
But I can deactivate with command line option.

~/.local/share/ov/pkg/isaac_sim-2023.1.1/ --/log/level=error --/log/fileLogLevel=error --/log/outputStreamLevel=error