userver: USERVER_NO_LOG_SPANS
Loading...
Searching...
No Matches
USERVER_NO_LOG_SPANS

USERVER_NO_LOG_SPANS Dynamic Config

Prefixes or full names of tracing::Span instances to not log.

In order for USERVER_NO_LOG_SPANS to work, you should Append components::LoggingConfigurator component or use components::CommonComponentList.

Schema:

# yaml
default:
prefixes: []
names: []
description: |
Prefixes or full names of tracing::Span instances to not log.
In order for `USERVER_NO_LOG_SPANS` to work, you should `Append` components::LoggingConfigurator
component or use components::CommonComponentList.
schema:
type: object
additionalProperties: false
required:
- prefixes
- names
properties:
prefixes:
type: array
x-usrv-cpp-container: boost::container::flat_set
items:
type: string
names:
type: array
x-usrv-cpp-container: boost::container::flat_set
items:
type: string

For a full list of dynamic configs see Dynamic config schemas list