Drake
Drake C++ Documentation
DRAKE_PYTHON_LOGGING

By default, pydrake will redirect spdlog logging (from C++) to Python's logging module.

However, if this environment variable is set to "0", then logging will not be redirected.

For example, to disable logging redirect, you can set the following in your terminal before you run your process that uses pydrake:

export DRAKE_PYTHON_LOGGING=0

See also pydrake.common.use_native_cpp_logging.