snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Named logging handlers can't be disabled #359

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

Describe the bug

When configuring a named logging handler (like quarkus.log.handler.console."STRUCTURED_LOGGING" or quarkus.log.handler.console."STRUCTURED_LOGGING_FILE"), those handlers are always used, no matter what the value of the enable flag is for that named handler.

Expected behavior

The named handler's enable flag is taken into account and can be used to disable a named handler.

Additional context

The problem was originally reported at https://stackoverflow.com/q/67959479/2504224


https://github.com/quarkusio/quarkus/issues/17913


$upstream:17913$