From ac8ee907405748684d1184ca4fd6257313f20a5c Mon Sep 17 00:00:00 2001 From: Nick Burek Date: Mon, 6 May 2019 13:22:59 -0700 Subject: [PATCH] Changes the default 3rd party logger from rcl_logging_noop to rcl_logging_log4cxx (#425) Signed-off-by: burekn --- rcl/cmake/get_default_rcl_logging_implementation.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rcl/cmake/get_default_rcl_logging_implementation.cmake b/rcl/cmake/get_default_rcl_logging_implementation.cmake index e035ed3..e8b93a6 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