Skip to content

Commit

Permalink
Make StdoutErrConsumer default (#4873)
Browse files Browse the repository at this point in the history
* Refs #21098: Make StdoutErrConsumer default

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #21098: versions.md

Signed-off-by: Mario Dominguez <[email protected]>

---------

Signed-off-by: Mario Dominguez <[email protected]>
  • Loading branch information
Mario-DL authored Jun 4, 2024
1 parent 74acbb8 commit 2494263
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,9 @@ option(SHM_TRANSPORT_DEFAULT "Add SHM transport to the default transports" ON)
set(LOG_CONSUMER_DEFAULT AUTO CACHE STRING "Selects default LogConsumer")
set_property(CACHE LOG_CONSUMER_DEFAULT PROPERTY STRINGS AUTO STDOUT STDOUTERR)

if(LOG_CONSUMER_DEFAULT STREQUAL "STDOUTERR")
if(LOG_CONSUMER_DEFAULT STREQUAL "STDOUT")
set(STDOUTERR_LOG_CONSUMER OFF)
else()
set(STDOUTERR_LOG_CONSUMER ON)
endif()

Expand Down
2 changes: 2 additions & 0 deletions versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Forthcoming
* Removed `TypeConsistencyQos` from DataReader, and included `TypeConsistencyEnforcementQosPolicy` and `DataRepresentationQosPolicy`
* Added new `flow_controller_descriptor_list` XML configuration, remove `ThroughtputController`.
* Migrate `#define`s within `BuiltinEndpoints.hpp` to namespaced `constexpr` variables.
* Make `StdoutErrConsumer` the default log consumer.


Version 2.14.0
--------------
Expand Down

0 comments on commit 2494263

Please sign in to comment.