quarkiverse / quarkus-logging-json

Quarkus logging extension outputting the logging in json.
Apache License 2.0
62 stars 29 forks source link

Unable to create new CustomLogHandler #213

Closed marek-mizera closed 1 year ago

marek-mizera commented 1 year ago

Hi

from readme.md adding new CustomLogHandler for creating new field looks easy. But, when I add quarkus-logging-json dependency, there is no "io.quarkiverse.loggingjson.JsonProvider" interface available.

quarkus version is currently 2.9.2.FINAL, we will be upgrading soon, but not sure if that is relevant to this.

SlyngDK commented 1 year ago

Are you sure you are using correct dependency, have changed in early versions.

<dependency>
  <groupId>io.quarkiverse.loggingjson</groupId>
  <artifactId>quarkus-logging-json</artifactId>
  <version>2.0.0</version>
</dependency>