SAP/neonbee

[Feature]: Define LogLevel via NeonBeeTestBase

pk-work opened this issue · 1 comments

Is there an existing issue for this?

  • I have searched the existing issues

The Problem

NeonBeeTestBase is always using the NeonBeeTestBase-Logback.xml from the class path. In this config the log level is set to debug.

It is not possible to change the log level, because there is no place between log config creation and boot up where I could modify the config.

Desired Solution

Move responsibility for the logback config from NeonBeeTestBase to WorkingDirectoryBuilder. Add some kind of option or method I can use to set the default log level.

Alternative Solutions

Add some kind of option or method I can use to set the default log level in NeonBeeTestBase.

Additional Context

No response

It seems that the Logger is already configured before, so the content of NeonBeeTestBase-Logback.xml have no impact.