Skip to content

Commit

Permalink
Fix logging categories doc example
Browse files Browse the repository at this point in the history
Closes: #42166
(cherry picked from commit def257c)
  • Loading branch information
geoand authored and gsmet committed Aug 27, 2024
1 parent e079ab0 commit 982fc78
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/src/main/asciidoc/logging.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 982fc78

Please sign in to comment.