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

adjust all log-levels besides WARN to TRACE #1050

Merged
merged 3 commits into from
Feb 2, 2023

Conversation

codecholeric
Copy link
Collaborator

@codecholeric codecholeric commented Jan 25, 2023

Over the years there have been continuous issues by people not configuring their logging system appropriately and then being spammed by masses of DEBUG logs. In particular, because ArchUnit hooks into SLF4J and as it seems e.g. Spring Boot sets the log-level to DEBUG if the configuration is missing. While I principally think people should just correctly configure their logging infrastructure I've also been worn down over time ;-) So, I will reduce all non-WARN levels to TRACE now and accept that it will not be possible anymore to distinguish extremely spammy output (like "found access from x to y") from more central output (like "dependency resolution configuration") by log-level.

Resolves: #1038
Resolves: #1049

@codecholeric codecholeric force-pushed the reduce-all-log-output-to-trace branch from 17aeb84 to 06c9795 Compare January 25, 2023 08:50
@codecholeric codecholeric force-pushed the reduce-all-log-output-to-trace branch 3 times, most recently from 2dbeed6 to f3eb9f7 Compare February 2, 2023 09:26
Signed-off-by: Peter Gafert <peter.gafert@tngtech.com>
The comment on `JavaField.getType()` was a leftover from a previous time before generics support was fully implemented. Meanwhile, the described "possible" future has already become reality. I've noticed that the Javadoc on `JavaType` and `HasType` was a little sparse, so I tried to extend that instead.

Signed-off-by: Peter Gafert <peter.gafert@tngtech.com>
Over the years there have been continuous issues by people not configuring their logging system appropriately and then being spammed by masses of DEBUG logs. In particular, because ArchUnit hooks into SLF4J and as it seems e.g. Spring Boot sets the log-level to DEBUG if the configuration is missing. While I principally think people should just correctly configure their logging infrastructure I've also been worn down over time ;-) So, I will reduce all non-WARN levels to TRACE now and accept that it will not be possible anymore to distinguish extremely spammy output (like "found access from x to y") from more central output (like "dependency resolution configuration") by log-level.

Signed-off-by: Peter Gafert <peter.gafert@tngtech.com>
@codecholeric codecholeric force-pushed the reduce-all-log-output-to-trace branch from f3eb9f7 to 69227cf Compare February 2, 2023 13:14
@codecholeric codecholeric merged commit dca66c0 into main Feb 2, 2023
@codecholeric codecholeric deleted the reduce-all-log-output-to-trace branch February 2, 2023 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comment Regarding Generic Type Possibly No Longer Relevant Revise log levels
2 participants