-
Notifications
You must be signed in to change notification settings - Fork 302
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
Revise log levels #1038
Comments
Yes, I got you 😂 Should probably have done this a long time ago just to avoid the discussion 🤷♂️ I just always had the feeling that "taking |
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
Thanks! 🫶 |
Importing class files currently writes a lot of
DEBUG
output to the console, as most loggers default toDEBUG
log level. Especially in Spring Boot applications, that usually configure their integration test log levels viaapplication.properties
adding a configuration file dedicated to the logging library causes the Boot log configuration to back off, as that now expects all logging to be configured in that file. Ideally, I'd like to see ArchUnit to not produce any output, except logging explicitly configured to.It would be nice if the following steps were taken:
PluginLoader
for the Java version detection toTRACE
.UrlSource
,ArchConfiguration
andJavaClassProcessor
toTRACE
.The text was updated successfully, but these errors were encountered: