ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
For anybody stumbling upon this page, if you just want to set verbosity of packages as soon as they are launched by launchfiles, the easiest way is:
export ROSCONSOLE_CONFIG_FILE="/path/to/my/config/rosconsole.config"
edit, for example with vi /path/to/my/config/rosconsole.config
adding these lines:
log4j.logger.ros=INFO log4j.logger.ros.roscpp.superdebug=WARN log4j.logger.ros.my_package_name=DEBUG
launch your launchfile in the same shell.
The package name must be the one who corresponds to <node pkg="my_package_name" ...>="" line="" in="" the="" launchfile.<="" p="">
2 | No.2 Revision |
For anybody stumbling upon this page, if you just want to set verbosity of packages as soon as they are launched by launchfiles, the easiest way is:
export ROSCONSOLE_CONFIG_FILE="/path/to/my/config/rosconsole.config"
vi /path/to/my/config/rosconsole.config
adding these lines:log4j.logger.ros=INFO
log4j.logger.ros.roscpp.superdebug=WARN
log4j.logger.ros.my_package_name=DEBUG
log4j.logger.ros=INFO
log4j.logger.ros.roscpp.superdebug=WARN
log4j.logger.ros.my_package_name=DEBUG
3. launch your launchfile in the same shell.
The package name must be the one who corresponds to <node pkg="my_package_name"
...>="" line="" in="" the="" launchfile.<="" p="">
...> line in the launchfile.