Skip to content

Commit

Permalink
Disable logger name (#11) (#13)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1fac9bf)

Co-authored-by: Pablo Garrido <pablogs9@gmail.com>
  • Loading branch information
mergify[bot] and pablogs9 committed May 23, 2022
1 parent 94dc0be commit 17d0a3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rcl/src/rcl/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 17d0a3b

Please sign in to comment.