From 191c7b6a6697f24a2bc2d8cf0eb081016a685fa7 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 29 Oct 2021 13:02:23 +0200 Subject: [PATCH] Disable logger name (#11) (#13) (cherry picked from commit 1fac9bf845f32bce311730d3dda1fddbb8b101e6) Co-authored-by: Pablo Garrido --- rcl/src/rcl/node.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rcl/src/rcl/node.c b/rcl/src/rcl/node.c index 46c70fd68..455855937 100644 --- a/rcl/src/rcl/node.c +++ b/rcl/src/rcl/node.c @@ -255,9 +255,11 @@ rcl_node_init( } // node logger name +#ifdef RCL_LOGGING_ENABLED node->impl->logger_name = rcl_create_node_logger_name(name, local_namespace_, allocator); RCL_CHECK_FOR_NULL_WITH_MSG( node->impl->logger_name, "creating logger name failed", goto fail); +#endif // RCL_LOGGING_ENABLED RCUTILS_LOG_DEBUG_NAMED( ROS_PACKAGE_NAME, "Using domain ID of '%zu'", context->impl->rmw_context.actual_domain_id);