Skip to content

Commit 93f6c19

Browse files
authored
Change default logconsumer to StdoutErr (#790)
* Refs #21098: Change default logconsumer to StdoutErr Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com> * Refs #21098: Apply Miguels suggestion Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com> * Refs #21098: Apply rev suggestion on installation Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com> --------- Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
1 parent 5b88fd0 commit 93f6c19

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/fastdds/logging/consumer.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ StdoutConsumer
2222

2323
|StdoutConsumer-api| outputs log entries to STDOUT stream following the convection specified in
2424
:ref:`dds_layer_log_logging_spec`.
25-
It is the default and only log consumer of the logging module if the CMake option |LOG_CONSUMER_DEFAULT| is set to
26-
``AUTO``, ``STDOUT``, or not set at all.
25+
It is the default logging module if the CMake option |LOG_CONSUMER_DEFAULT| is set to ``STDOUT``.
2726
It can be registered and unregistered using the methods explained in
2827
:ref:`dds_layer_log_register_consumers` and :ref:`dds_layer_log_reset`.
2928

@@ -42,6 +41,8 @@ StdoutErrConsumer
4241
|StdoutErrConsumer-api| uses a |Log::Kind-api| threshold to filter the output of the log entries.
4342
Those log entries whose |Log::Kind-api| is equal to or more severe than the given threshold output to STDERR.
4443
Other log entries output to STDOUT.
44+
It is the default and only log consumer of the logging module if the CMake option |LOG_CONSUMER_DEFAULT| is set to
45+
``AUTO``, ``STDOUTERR``, or not set at all.
4546
By default, the threshold is set to |Log::Kind::Warning-api|.
4647
|StdoutErrConsumer::stderr_threshold-api| allows the user to modify the default threshold.
4748

docs/installation/configuration/cmake_options.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ This module can be configured using *Fast DDS* CMake arguments regarding the fol
171171
- Default
172172
* - :class:`LOG_CONSUMER_DEFAULT`
173173
- Selects the default log consumer for the logging module. |br|
174-
``AUTO`` has the same behavior as ``STDOUT``. |br|
174+
``AUTO`` has the same behavior as ``STDOUTERR``. |br|
175175
For more information, please refer to :ref:`Log consumers <dds_layer_log_consumer>`.
176176
- ``AUTO`` ``STDOUT`` |br|
177177
``STDOUTERR``

0 commit comments

Comments
 (0)