Skip to content

Commit

Permalink
Revert "Changes the default 3rd party logger from rcl_logging_noop to…
Browse files Browse the repository at this point in the history
… rcl_logging_log4cxx (#425)"

This reverts commit ac8ee90.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
  • Loading branch information
clalancette committed May 14, 2019
1 parent 816ce67 commit 533676d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rcl/cmake/get_default_rcl_logging_implementation.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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_log4cxx
# is set then use that, otherwise default to using rcl_logging_noop
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_log4cxx)
set(_logging_implementation rcl_logging_noop)
endif()

# persist implementation decision in cache
Expand Down

0 comments on commit 533676d

Please sign in to comment.