spring-projects / spring-projects/spring-boot
Timeout for defaulting log levels
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 81.5k
- Forks
- 42.7k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 65
Description
We are managing our services log levels with spring boot admin app, which lets us change log levels in live services. However we need a feature to get these log levels to default values once a certain time passes, basically to make sure we are not overflowing with huge log sizes.
I opened the following issue to spring boot admin project.
https://github.com/codecentric/spring-boot-admin/issues/1449
They replied as this would be a valuable feature, however it would be much better to implement at actuator side, as otherwise it would require retries and state management on spring boot admin.
After some consideration I also agree that this would be a much cleaner solution.
Would it be possible to add such a feature, that would change log levels back to default after a specified time passes?
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 reviewing Spring Boot Actuator's logging support and the linked Spring Boot Admin issue 1449 to understand the proposed ownership and requirements. Define how a configured timeout should restore log levels to their defaults, including the configuration and observable behavior, then add coverage for the timeout and reset behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100