Skip to content

Commit

Permalink
Update platform-sdk/docs/base/logging/logging.md
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik Ebbers <hendrik.ebbers@web.de>
Signed-off-by: Timo Brandstätter <timo@devlodge.de>
Signed-off-by: Timo Brandstätter <timo@swirldslabs.com>
  • Loading branch information
timo0 and hendrikebbers committed Feb 16, 2024
1 parent 5a97edb commit c4a2bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform-sdk/docs/base/logging/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ logging.marker.CONFIG = ENABLED

To further refine our logging system, we have incorporated handlers for more granular control over logging behavior.
Each handler can be distinctly named and configured using the prefix `logging.handler.NAME`, where `NAME` serves as a unique identifier.
Two fields are required: `logging.handler.NAME.type`, to specify the type of the handler, and `logging.handler.NAME.enabled`, to activate or deactivate the handler.
Two fields are required: `logging.handler.NAME.type`, to specify the type of the handler, and `logging.handler.NAME.enabled` must be set to `true` to activate the handler. The default value for all `logging.handler.NAME.enabled` properties is `false`.
This structure allows for the application of handler-specific settings.
For instance, `logging.handler.NAME.level` is used to set the logging level for a specific handler, ensuring that all previously discussed features such as marker filters and log level settings are compatible.
This setup is instrumental in creating dedicated log files or outputs for specific types of log messages, offering a focused view that is particularly useful in complex systems or during targeted analyses.
Expand Down

0 comments on commit c4a2bfe

Please sign in to comment.