You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can't print out the DEBUG log even when we set the log severity to --log-level.
➜ ros2 run demo_nodes_cpp listener --ros-args --log-level rmw_cyclonedds_cpp:=DEBUG[INFO] [1737021295.175274629] [DBG]: =======================[WARN] [1737021295.175300568] [DBG]: =======================[ERROR] [1737021295.175302982] [DBG]: =======================2025-01-16T09:54:55.189082Z INFO ThreadId(02) zenoh::net::runtime: Using ZID: b28720221a3472a6c064f3ec796fc2832025-01-16T09:54:55.191102Z INFO ThreadId(02) zenoh::net::runtime::orchestrator: Zenoh can be reached at: tcp/[::1]:41651[INFO] [1737021295.325765962] [DBG]: =======================[WARN] [1737021295.325797712] [DBG]: =======================[ERROR] [1737021295.325802260] [DBG]: =======================^C[INFO] [1737021296.258484803] [rclcpp]: signal_handler(signum=2)2025-01-16T09:54:56.263955Z INFO ThreadId(02) zenoh::api::session: close session zid=b28720221a3472a6c064f3ec796fc283
The cause might be we don't properly hook the logging mask with the upstream.
I've tested it with cyclondedds and fastrtps, which work normally.
ros2 run demo_nodes_cpp listener --ros-args --log-level rmw_cyclonedds_cpp:=DEBUG[DEBUG] [1737020808.862103857] [rmw_cyclonedds_cpp]: Config XML is <CycloneDDS><Domain><Discovery><ParticipantIndex>auto</ParticipantIndex><MaxAutoParticipantIndex>32</MaxAutoParticipantIndex></Discovery></Domain></CycloneDDS>,[DEBUG] [1737020808.868789303] [rmw_cyclonedds_cpp]: ************ Service Details *********[DEBUG] [1737020808.868816113] [rmw_cyclonedds_cpp]: Sub Topic rq/listener/get_parametersRequest[DEBUG] [1737020808.868819720] [rmw_cyclonedds_cpp]: Pub Topic rr/listener/get_parametersReply[DEBUG] [1737020808.868822726] [rmw_cyclonedds_cpp]: ***********
BTW, I've tested it with the RCUTILS logging tools. It still can't print the debug log and the deadlock issue seems unresolved with the recent changes.
The text was updated successfully, but these errors were encountered:
Maybe we can look at what global variables RCUITLS logger is accessing to set it's log severity and appropriately call rmw_set_log_severity in rmw_init
We can't print out the DEBUG log even when we set the log severity to
--log-level
.The cause might be we don't properly hook the logging mask with the upstream.
I've tested it with cyclondedds and fastrtps, which work normally.
BTW, I've tested it with the
RCUTILS
logging tools. It still can't print the debug log and the deadlock issue seems unresolved with the recent changes.The text was updated successfully, but these errors were encountered: