From ddcce2e8bc1c43e73a4033b4d76b5e06a4a3ad89 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 24 Sep 2023 12:57:37 +0200 Subject: feat(core): Add DefaultConfiguratorFactory for JBoss Log Manager 3.x. Change-Id: I6bf88c9e6c8c4aba303cc1d18e8f18c917dd6b88 --- .../META-INF/services/org.jboss.logmanager.ConfiguratorFactory | 6 ++++++ .../services/org.jboss.logmanager.EmbeddedConfigurator | 5 +++++ examples/spring-boot/src/main/resources/logging.properties | 10 ++++++++-- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 examples/spring-boot/src/main/resources/META-INF/services/org.jboss.logmanager.ConfiguratorFactory (limited to 'examples/spring-boot/src/main/resources') diff --git a/examples/spring-boot/src/main/resources/META-INF/services/org.jboss.logmanager.ConfiguratorFactory b/examples/spring-boot/src/main/resources/META-INF/services/org.jboss.logmanager.ConfiguratorFactory new file mode 100644 index 0000000..c4b4beb --- /dev/null +++ b/examples/spring-boot/src/main/resources/META-INF/services/org.jboss.logmanager.ConfiguratorFactory @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: © 2023 Matthias Andreas Benkard +# +# SPDX-License-Identifier: GPL-3.0-or-later + +# For JBoss Log Manager 3.x (or JBoss Log Manager Embedded 1.2 or later) +eu.mulk.quarkus.googlecloud.jsonlogging.logmanager.DefaultConfiguratorFactory diff --git a/examples/spring-boot/src/main/resources/META-INF/services/org.jboss.logmanager.EmbeddedConfigurator b/examples/spring-boot/src/main/resources/META-INF/services/org.jboss.logmanager.EmbeddedConfigurator index 6d937e5..b9ffbe2 100644 --- a/examples/spring-boot/src/main/resources/META-INF/services/org.jboss.logmanager.EmbeddedConfigurator +++ b/examples/spring-boot/src/main/resources/META-INF/services/org.jboss.logmanager.EmbeddedConfigurator @@ -1 +1,6 @@ +# SPDX-FileCopyrightText: © 2023 Matthias Andreas Benkard +# +# SPDX-License-Identifier: GPL-3.0-or-later + +# For JBoss Log Manager Embedded 1.1.x and earlier. eu.mulk.quarkus.googlecloud.jsonlogging.logmanager.DefaultEmbeddedConfigurator diff --git a/examples/spring-boot/src/main/resources/logging.properties b/examples/spring-boot/src/main/resources/logging.properties index 31aebd7..8bc0033 100644 --- a/examples/spring-boot/src/main/resources/logging.properties +++ b/examples/spring-boot/src/main/resources/logging.properties @@ -2,5 +2,11 @@ # # SPDX-License-Identifier: GPL-3.0-or-later -handlers = eu.mulk.quarkus.googlecloud.jsonlogging.logmanager.DefaultConsoleHandler -.level = INFO +# java.util.logging properties +#handlers = eu.mulk.quarkus.googlecloud.jsonlogging.logmanager.DefaultConsoleHandler +#.level = INFO + +# JBoss Log Manager properties +logger.level = INFO +logger.handlers = GOOGLEJSON +handler.GOOGLEJSON = eu.mulk.quarkus.googlecloud.jsonlogging.logmanager.DefaultConsoleHandler -- cgit v1.2.3