Open
Description
Bug report
Required Info:
- Operating System:
- Ubuntu 20.04...)
- Installation type:
- official foxy docker image
- Version or commit hash:
- DDS implementation: rmw_fastrtps_cpp
- Client library (if applicable):
Steps to reproduce issue
create a ComposableNode
import launch
from launch_ros.actions import ComposableNodeContainer, Node
from launch_ros.descriptions import ComposableNode
def generate_launch_description():
container = ComposableNodeContainer(
name="container",
namespace="",
package="rclcpp_components",
executable="component_container",
composable_node_descriptions=[
ComposableNode(
package="localization",
plugin="LocalizationNode",
name="localization"
)
],
arguments=['--ros-args', '--log-level', 'DEBUG']
)
return launch.LaunchDescription([container])
Expected behavior
The log level is set to debug
Actual behavior
The log level doesn't change
Additional information
There are some topics related to this on answers.ros.org:
https://answers.ros.org/question/311471/selecting-log-level-in-ros2-launch-file/
https://answers.ros.org/question/370288/ros2-how-do-you-set-verbosity-of-a-composable-node/#370389
Setting log level to at least info works fine, setting log level in source code also works:
rcutils_ret_t rcutils_logging_set_logger_level (const char *name, int level);
Feature request
Allow setting Debug severity log.