'Two logback configurations in a single app

I'm working on a plugin to an existing app.

The existing app already uses logback.

I want to have my own logback configuration with my own loggers.

I have no access to the app logback.xml.

Is there a way to create a custom configuration for my plugin ? Because the goal is to have distinct logs for the plugin.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source