Red Hat Bugzilla – Bug 481282
yum-fastestmirror is too noisy per default
Last modified: 2018-04-11 05:58:21 EDT
Created attachment 329814 [details]
example of possible solution
Description of problem:
I don't think I like having the list of all "best" servers whenever I run yum. Could we bump loglevel of yum-fastestmirror plugin to 3 (e.g., see the attached patch)?
Version-Release number of selected component (if applicable):
Created attachment 329815 [details]
probably better version of the patch
I probably went over the top -- this is slightly more sane.
And yes, the package still builds http://koji.fedoraproject.org/koji/taskinfo?taskID=1076135
Looks sane to me, I have added it upstream
I was a little fast here :)
Luke, what do you think about this one.
I personally like seeing what mirrors I'm hitting, and don't really consider 1 line of output per mirrorlist as being "noisy". I added this functionality a while back because I Max Spevack asked for it.
I vote for having it output the fastest mirrors by default, and making it simple to turn it off. However, if people really really want it off by default, that's OK with me too. Not sure we can make everyone happy with this one.
I added a "always_print_best_host" bool config. option, when true it prints at level 2 when false it prints at level 3. Default is the historical behaviour.
(In reply to comment #5)
> I personally like seeing what mirrors I'm hitting, and don't really consider 1
> line of output per mirrorlist as being "noisy". I added this functionality a
> while back because I Max Spevack asked for it.
Well, it looks very much like a debugging functinoality, which shouldn't be on per default, but james's solution works for me as well.