Skip to content

Commit

Permalink
Disable logger name (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogs9 authored Oct 29, 2021
1 parent ae6b2ab commit 1fac9bf
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 @@ -253,9 +253,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 1fac9bf

Please sign in to comment.