Reduce verbosity when resolving artifacts
See original GitHub issueI was just wondering whether we’ve ever considered only outputting the following types of message when we cannot locate an artifact locally:
[info] Resolving org.scala-sbt#persist;0.13.5 ...
…who would care if this can be resolved quickly? Perhaps we should only output messages like that if the action takes more than, say, 1 second. Taking this approach would vastly reduce the amount of output from sbt.
WDYT?
Issue Analytics
- State:
- Created 9 years ago
- Reactions:3
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Can Maven be made less verbose? - Stack Overflow
When running in non-interactive mode, Maven will never stop to accept input from the user. Instead, it will use sensible default values when...
Read more >Maven Dependency Tree - Resolving Conflicts - DigitalOcean
Resolving Conflicts using Maven Dependency Tree Verbose Mode ... has a lot of dependencies, it becomes hard to look for a specific artifact....
Read more >Setting Logging Verbosity - Epics · GitLab.org
Problem to solve Right now you can't change the verbosity of your log files. There are settings available for:
Read more >MSBuild logger verbosity / Questions / Discussion Area
I am in the process of integrating a .NET Core 3.0 preview 7 project in AppVeyor. Living on the edge as I am,...
Read more >Change The Ansible VerBOSity Logs
Warning: Setting the –ansible-verbosity to 4 can cause CFS sessions to hang for unknown reasons. To correct this issue, reduce the verbosity to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am 100% sure that not one of the millions (a quick calculation reveals that this is a conservative estimate) of resolving messages that have flashed before my eyes over the entire time that I have been using sbt have ever helped me in the slightest. If there’s a resolve error, I see the error message, the resolving info message is not helpful. If there’s a problem with my dependencies, I go to the ivy reports which helps me debug them. The resolving messages do not contain enough information to be helpful in this case. I cannot ever remember a time when a resolving message has been useful. Not once.
But I can tell you that the resolving messages have caused so much pain, mostly with CI, particularly with things like travis that if you turn logging off completely, timeout because you’re not logging, or if you leave it on, fail because you logs exceed 10000 lines, 5000 of which are resolving messages.
These messages should be logged at debug, not info.
@axel22 I found
ivyLoggingLevel := UpdateLogging.Quiet
in build.sbt to suppress all the[info] Resolving ..
messages