Skip to content

Support for fully custom format by easily disabling all shipped providers #384

@hendrikpeilke

Description

@hendrikpeilke

We use this wonderful plugin for quarkus, since the original quarkus plugin lacks customization. Background: We have a company defined JSON format for logging. With this quarkiverse plugin I can customize logging to achieve this format, but I hope some things get better:

What we did

  • we disabled all providers by configuration and defined a JsonProvider for the logging plugin holding all of our needed implementation
  • that way we can test our format straight forward
  • at start we used a combination of renaming providers by configuration and implementing a JsonProvider, making it hard to understand what was going on and to test

The problem

  • we now have as many disable provider configurations in our quarkus app, as you have providers inside your plugin
    • when a new provider is added, we need to update that list
      • that point is hard for us to find out about

Possible solutions

Maybe you have got other hints or solutions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions