Skip to content

Commit 27fa209

Browse files
Change default log configuration filter (#444)
Signed-off-by: Lucia Echevarria <[email protected]>
1 parent aa247e9 commit 27fa209

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ddsrouter_yaml/src/cpp/CommandlineArgsRouter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace yaml {
2121
CommandlineArgsRouter::CommandlineArgsRouter()
2222
{
2323
log_filter[utils::VerbosityKind::Info].set_value("DDSROUTER", utils::FuzzyLevelValues::fuzzy_level_default);
24-
log_filter[utils::VerbosityKind::Warning].set_value("DDSROUTER|DDSPIPE",
24+
log_filter[utils::VerbosityKind::Warning].set_value("DDSROUTER",
2525
utils::FuzzyLevelValues::fuzzy_level_default);
2626
log_filter[utils::VerbosityKind::Error].set_value("", utils::FuzzyLevelValues::fuzzy_level_default);
2727
}

docs/rst/user_manual/configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ Logging
397397
Under the ``logging`` tag, users can configure the type of logs to display and filter the logs based on their content and category.
398398
When configuring the verbosity to ``info``, all types of logs, including informational messages, warnings, and errors, will be displayed.
399399
Conversely, setting it to ``warning`` will only show warnings and errors, while choosing ``error`` will exclusively display errors.
400-
By default, the filter allows all errors to be displayed, while selectively permitting warning messages from ``DDSPIPE|DDSROUTER`` and informational messages from the ``DDSROUTER`` category.
400+
By default, the filter allows all errors to be displayed, while selectively permitting warning messages from ``DDSROUTER`` and informational messages from the ``DDSROUTER`` category.
401401

402402
.. code-block:: yaml
403403
@@ -436,7 +436,7 @@ By default, the filter allows all errors to be displayed, while selectively perm
436436
or message of the logs.
437437
- *string*
438438
- info : ``DDSROUTER`` |br|
439-
warning : ``DDSPIPE|DDSROUTER`` |br|
439+
warning : ``DDSROUTER`` |br|
440440
error : ``""``
441441
- Regex string
442442

tools/ddsrouter_tool/src/cpp/user_interface/arguments_configuration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ ProcessReturnCode parse_arguments(
246246

247247
case optionIndex::ACTIVATE_DEBUG:
248248
commandline_args.log_filter[utils::VerbosityKind::Error].set_value("");
249-
commandline_args.log_filter[utils::VerbosityKind::Warning].set_value("(DDSROUTER|DDSPIPE)");
249+
commandline_args.log_filter[utils::VerbosityKind::Warning].set_value("DDSROUTER");
250250
commandline_args.log_filter[utils::VerbosityKind::Info].set_value("DDSROUTER");
251251
commandline_args.log_verbosity = utils::VerbosityKind::Info;
252252
break;

0 commit comments

Comments
 (0)