Skip to content

Add config option to disable logging to stderr/winevent #2525

@dmitrydonskih

Description

@dmitrydonskih

Request

Add configuration option to disable sending own logs to stderr.

Use case

Currently Alloy sends all own logs to stderr (or, on windows, to windows events).
These logs cannot be staged, the only option to control stderr output is logging.level.
In windows environment, these logs can flood windows event journal.
If one uses logging.write_to to completely process Alloy's own logs, then duplicating those logs to stderr becomes unnessesary and excessive.
In this case, an extra option to disable output to stderr (while keeping it to write_to) would be handy.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions