[Feature]: Define LogLevel via NeonBeeTestBase
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 44
- Forks
- 19
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 4
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading NeonBeeTestBase and WorkingDirectoryBuilder to trace when the Logback configuration is created and when the test environment boots. Define how the default log level can be configured before boot, then verify that the existing test setup still works and that callers can select a different level.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100