Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Define LogLevel via NeonBeeTestBase #281

Open
1 task done
pk-work opened this issue Mar 3, 2023 · 1 comment
Open
1 task done

[Feature]: Define LogLevel via NeonBeeTestBase #281

pk-work opened this issue Mar 3, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@pk-work
Copy link
Contributor

pk-work commented Mar 3, 2023

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

@pk-work pk-work added the enhancement New feature or request label Mar 3, 2023
@pk-work
Copy link
Contributor Author

pk-work commented Mar 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant