From def257cc92ced3174473004bb14d3cec99cbe537 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Tue, 27 Aug 2024 13:19:22 +0300 Subject: [PATCH] Fix logging categories doc example Closes: #42166 --- docs/src/main/asciidoc/logging.adoc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/logging.adoc b/docs/src/main/asciidoc/logging.adoc index bb2bd14698df9..8c9f685c13194 100644 --- a/docs/src/main/asciidoc/logging.adoc +++ b/docs/src/main/asciidoc/logging.adoc @@ -255,10 +255,13 @@ This includes the globally configured handlers and formatters. ==== [source, properties] ---- -quarkus.log.handlers=console,mylog +quarkus.log.handlers=con,mylog + +quarkus.log.handler.console.con.enable=true +quarkus.log.handler.file.mylog.enable=true ---- -In this example, the root category is configured to use two handlers: `console` and `mylog`. +In this example, the root category is configured to use two named handlers: `con` and `mylog`. ==== .An example of a per-category configuration: