diff --git a/adapter-base/src/test/resources/application.yml b/adapter-base/src/test/resources/application.yml index 107ce071b7..2a749c0107 100644 --- a/adapter-base/src/test/resources/application.yml +++ b/adapter-base/src/test/resources/application.yml @@ -11,9 +11,9 @@ # SPDX-License-Identifier: EPL-2.0 # quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/adapters/amqp/src/test/resources/application.yml b/adapters/amqp/src/test/resources/application.yml index b7221fce3e..8dd673619b 100644 --- a/adapters/amqp/src/test/resources/application.yml +++ b/adapters/amqp/src/test/resources/application.yml @@ -11,9 +11,9 @@ # SPDX-License-Identifier: EPL-2.0 # quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/adapters/coap/src/test/resources/application.yml b/adapters/coap/src/test/resources/application.yml index fe366a4127..a22cd51cf6 100644 --- a/adapters/coap/src/test/resources/application.yml +++ b/adapters/coap/src/test/resources/application.yml @@ -11,9 +11,9 @@ # SPDX-License-Identifier: EPL-2.0 # quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/adapters/http-base/src/test/resources/application.yml b/adapters/http-base/src/test/resources/application.yml index 7100100154..fd0ab01108 100644 --- a/adapters/http-base/src/test/resources/application.yml +++ b/adapters/http-base/src/test/resources/application.yml @@ -11,9 +11,9 @@ # SPDX-License-Identifier: EPL-2.0 # quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/adapters/lora/src/test/resources/application.yml b/adapters/lora/src/test/resources/application.yml index b7221fce3e..8dd673619b 100644 --- a/adapters/lora/src/test/resources/application.yml +++ b/adapters/lora/src/test/resources/application.yml @@ -11,9 +11,9 @@ # SPDX-License-Identifier: EPL-2.0 # quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/adapters/mqtt-base/src/test/resources/application.yml b/adapters/mqtt-base/src/test/resources/application.yml index 728c838b53..56a1dd1840 100644 --- a/adapters/mqtt-base/src/test/resources/application.yml +++ b/adapters/mqtt-base/src/test/resources/application.yml @@ -11,9 +11,9 @@ # SPDX-License-Identifier: EPL-2.0 # quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/bom/pom.xml b/bom/pom.xml index e70a9904ed..acf61d5cd9 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -187,6 +187,8 @@ otel.traces.sampler.arg=endpoint=http://${docker.host.address:localhost}:4317 quarkus.devservices.enabled=false # app id quarkus.application.name=${app.id} +# console color, also applies to console logging +quarkus.console.color=true # Log setup quarkus.log.level=INFO quarkus.log.category."io.quarkus.vertx.core.runtime".level=DEBUG diff --git a/cli/src/main/resources/application.yaml b/cli/src/main/resources/application.yaml index 57f83f4456..75b48aa855 100644 --- a/cli/src/main/resources/application.yaml +++ b/cli/src/main/resources/application.yaml @@ -1,9 +1,9 @@ quarkus: banner: enabled: false + console: + color: true log: - console: - color: true level: ERROR min-level: TRACE category: diff --git a/examples/protocol-gateway-example/src/main/resources/application.yml b/examples/protocol-gateway-example/src/main/resources/application.yml index 33a3506c79..eb90d553c7 100644 --- a/examples/protocol-gateway-example/src/main/resources/application.yml +++ b/examples/protocol-gateway-example/src/main/resources/application.yml @@ -10,9 +10,9 @@ gateway: serverRole: AMQP adapter quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/service-base/src/test/resources/application.yml b/service-base/src/test/resources/application.yml index c99b2059f0..2ad7adfc1c 100644 --- a/service-base/src/test/resources/application.yml +++ b/service-base/src/test/resources/application.yml @@ -11,9 +11,9 @@ # SPDX-License-Identifier: EPL-2.0 # quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/services/auth-base/src/test/resources/application.yml b/services/auth-base/src/test/resources/application.yml index 792eda3b5f..c8a9807338 100644 --- a/services/auth-base/src/test/resources/application.yml +++ b/services/auth-base/src/test/resources/application.yml @@ -11,9 +11,9 @@ # SPDX-License-Identifier: EPL-2.0 # quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/services/command-router/src/test/resources/application.yml b/services/command-router/src/test/resources/application.yml index 65a70f804d..ab4f7d2c7b 100644 --- a/services/command-router/src/test/resources/application.yml +++ b/services/command-router/src/test/resources/application.yml @@ -11,9 +11,9 @@ # SPDX-License-Identifier: EPL-2.0 # quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/services/device-registry-base/src/test/resources/application.yml b/services/device-registry-base/src/test/resources/application.yml index 58b414f125..51e8a02390 100644 --- a/services/device-registry-base/src/test/resources/application.yml +++ b/services/device-registry-base/src/test/resources/application.yml @@ -11,9 +11,9 @@ # SPDX-License-Identifier: EPL-2.0 # quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/services/device-registry-jdbc/src/test/resources/application.yml b/services/device-registry-jdbc/src/test/resources/application.yml index 92c3ed96c6..ca63b57669 100644 --- a/services/device-registry-jdbc/src/test/resources/application.yml +++ b/services/device-registry-jdbc/src/test/resources/application.yml @@ -11,9 +11,9 @@ # SPDX-License-Identifier: EPL-2.0 # quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/services/device-registry-mongodb/src/main/resources/application.properties b/services/device-registry-mongodb/src/main/resources/application.properties index 564d964dd0..a1c19a14d4 100644 --- a/services/device-registry-mongodb/src/main/resources/application.properties +++ b/services/device-registry-mongodb/src/main/resources/application.properties @@ -2,6 +2,3 @@ ${quarkus.application.properties} quarkus.jackson.accept-case-insensitive-enums=true # fail deserialization of JSON objects sent by clients if they contain unexpected content quarkus.jackson.fail-on-unknown-properties=true -# this is needed in order to support mongodb+srv:// style connection strings in native executable -# see https://quarkus.io/guides/mongodb -quarkus.mongodb.native.dns.use-vertx-dns-resolver=true diff --git a/services/device-registry-mongodb/src/test/resources/application.yml b/services/device-registry-mongodb/src/test/resources/application.yml index 55515f0439..550fd3a40c 100644 --- a/services/device-registry-mongodb/src/test/resources/application.yml +++ b/services/device-registry-mongodb/src/test/resources/application.yml @@ -11,9 +11,9 @@ # SPDX-License-Identifier: EPL-2.0 # quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/tests/src/test/resources/amqp/application.yml b/tests/src/test/resources/amqp/application.yml index 67ebb7dff0..bc633958d6 100644 --- a/tests/src/test/resources/amqp/application.yml +++ b/tests/src/test/resources/amqp/application.yml @@ -104,9 +104,9 @@ quarkus: exporter: otlp: endpoint: "${otel-collector.endpoint}" + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/tests/src/test/resources/auth/application.yml b/tests/src/test/resources/auth/application.yml index cdd5c879de..a3bb6a3466 100644 --- a/tests/src/test/resources/auth/application.yml +++ b/tests/src/test/resources/auth/application.yml @@ -17,9 +17,9 @@ hono: supportedSaslMechanisms: "PLAIN" quarkus: + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/tests/src/test/resources/coap/application.yml b/tests/src/test/resources/coap/application.yml index b06617658a..fb16f66cb7 100644 --- a/tests/src/test/resources/coap/application.yml +++ b/tests/src/test/resources/coap/application.yml @@ -103,9 +103,9 @@ quarkus: exporter: otlp: endpoint: "${otel-collector.endpoint}" + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/tests/src/test/resources/commandrouter/clustered-cache/application.yml b/tests/src/test/resources/commandrouter/clustered-cache/application.yml index 8c304f9fad..771fa9d4f4 100644 --- a/tests/src/test/resources/commandrouter/clustered-cache/application.yml +++ b/tests/src/test/resources/commandrouter/clustered-cache/application.yml @@ -87,9 +87,9 @@ quarkus: exporter: otlp: endpoint: "${otel-collector.endpoint}" + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/tests/src/test/resources/commandrouter/embedded-cache/application.yml b/tests/src/test/resources/commandrouter/embedded-cache/application.yml index 23bb549299..653e46f5dd 100644 --- a/tests/src/test/resources/commandrouter/embedded-cache/application.yml +++ b/tests/src/test/resources/commandrouter/embedded-cache/application.yml @@ -81,9 +81,9 @@ quarkus: exporter: otlp: endpoint: "${otel-collector.endpoint}" + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/tests/src/test/resources/deviceregistry-jdbc-h2/application.yml b/tests/src/test/resources/deviceregistry-jdbc-h2/application.yml index b16e9aec3c..2abc6f404d 100644 --- a/tests/src/test/resources/deviceregistry-jdbc-h2/application.yml +++ b/tests/src/test/resources/deviceregistry-jdbc-h2/application.yml @@ -71,9 +71,9 @@ quarkus: exporter: otlp: endpoint: "${otel-collector.endpoint}" + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/tests/src/test/resources/deviceregistry-jdbc-postgres/application.yml b/tests/src/test/resources/deviceregistry-jdbc-postgres/application.yml index c58ad467ee..9685cffe1c 100644 --- a/tests/src/test/resources/deviceregistry-jdbc-postgres/application.yml +++ b/tests/src/test/resources/deviceregistry-jdbc-postgres/application.yml @@ -81,9 +81,9 @@ quarkus: exporter: otlp: endpoint: "${otel-collector.endpoint}" + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/tests/src/test/resources/deviceregistry-mongodb/application.yml b/tests/src/test/resources/deviceregistry-mongodb/application.yml index de26923e73..c5354c7a18 100644 --- a/tests/src/test/resources/deviceregistry-mongodb/application.yml +++ b/tests/src/test/resources/deviceregistry-mongodb/application.yml @@ -69,9 +69,9 @@ quarkus: exporter: otlp: endpoint: "${otel-collector.endpoint}" + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/tests/src/test/resources/http/application.yml b/tests/src/test/resources/http/application.yml index 6a206c9e24..b1657e9b78 100644 --- a/tests/src/test/resources/http/application.yml +++ b/tests/src/test/resources/http/application.yml @@ -97,9 +97,9 @@ quarkus: exporter: otlp: endpoint: "${otel-collector.endpoint}" + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/tests/src/test/resources/lora/application.yml b/tests/src/test/resources/lora/application.yml index 2f0dbe93cc..1dcc8351e4 100644 --- a/tests/src/test/resources/lora/application.yml +++ b/tests/src/test/resources/lora/application.yml @@ -94,9 +94,9 @@ quarkus: exporter: otlp: endpoint: "${otel-collector.endpoint}" + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: diff --git a/tests/src/test/resources/mqtt/application.yml b/tests/src/test/resources/mqtt/application.yml index 6868980ffc..5d65cccede 100644 --- a/tests/src/test/resources/mqtt/application.yml +++ b/tests/src/test/resources/mqtt/application.yml @@ -95,9 +95,9 @@ quarkus: exporter: otlp: endpoint: "${otel-collector.endpoint}" + console: + color: true log: - console: - color: true level: INFO min-level: TRACE category: