question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reduce verbosity when resolving artifacts

See original GitHub issue

I 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:closed
  • Created 9 years ago
  • Reactions:3
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

5reactions
jropercommented, Sep 29, 2016

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.

2reactions
ocramzcommented, Mar 19, 2017

@axel22 I found ivyLoggingLevel := UpdateLogging.Quiet in build.sbt to suppress all the [info] Resolving .. messages

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found