[Yum] About the log level and information messages

seth vidal skvidal at phy.duke.edu
Sun Mar 28 15:50:58 UTC 2004


On Sun, 2004-03-28 at 14:33 +0200, Aurélien Degrémont wrote:

> Hi,
> 
> I've seen another bad behaviour when yum is in debuglevel 1.
> 
> When you search for something, yum *always said nothing* even if it 
> found some results !
> I think it is not really good :)
> You may have some strange results like this :
> 
> 
> [lelfe at syunikiss local]$ yum -d 1 search yum
> [lelfe at syunikiss local]$ yum -d 2 search yum
> Gathering header information file(s) from server(s)
> Server: Fedora Core 1 - Base Os
> Server: Fedora Core 1 - Stable Extras
> Server: Livna packages - Stable
> Server: Fedora Core 1 - Base Updates
> Finding updated packages
> Downloading needed headers
> Looking in available packages for a providing package
> No packages found
> Looking in installed packages for a providing package
> Installed package: yum.noarch 0:2.0.4-2 matches with
>   yum
> Installed package: yum.noarch 0:2.0.5-1.fd.fr matches with
>   yum
> 2 results returned
> [lelfe at syunikiss local]$
> 
> 
> Yum did not find itself. In fact, it found itself, but it doesn't 
> display it, due to the too small debuglevel.
> 
> Maybe another fixes should be done ?

no.
 Don't run in debuglevel 1 if you expect to see significant output. The
search results are NOT significant enough to merit a level 1 display.
Run in debuglevel 2 if you want the normal information to be displayed.

-sv





More information about the Yum mailing list