diff --git a/rcl/cmake/get_default_rcl_logging_implementation.cmake b/rcl/cmake/get_default_rcl_logging_implementation.cmake index e035ed385..e8b93a63e 100644 --- a/rcl/cmake/get_default_rcl_logging_implementation.cmake +++ b/rcl/cmake/get_default_rcl_logging_implementation.cmake @@ -24,13 +24,13 @@ macro(get_default_rcl_logging_implementation var) # if logging implementation already specified or RCL_LOGGING_IMPLEMENTATION environment variable - # is set then use that, otherwise default to using rcl_logging_noop + # is set then use that, otherwise default to using rcl_logging_log4cxx if(NOT "${RCL_LOGGING_IMPLEMENTATION}" STREQUAL "") set(_logging_implementation "${RCL_LOGGING_IMPLEMENTATION}") elseif(NOT "$ENV{RCL_LOGGING_IMPLEMENTATION}" STREQUAL "") set(_logging_implementation "$ENV{RCL_LOGGING_IMPLEMENTATION}") else() - set(_logging_implementation rcl_logging_noop) + set(_logging_implementation rcl_logging_log4cxx) endif() # persist implementation decision in cache diff --git a/rcl/package.xml b/rcl/package.xml index 329e331f9..9e758caad 100644 --- a/rcl/package.xml +++ b/rcl/package.xml @@ -28,7 +28,7 @@ rcutils rosidl_default_runtime - rcl_logging_noop + rcl_logging_log4cxx rmw_implementation ament_cmake_gtest