On Tue, 2013-07-09 at 13:18 +0200, Zdenek Pavlas wrote:
> We need a way to turn off INFO messages, but keep WARN, ERROR, and
> CRITICAL. A new loglevel -1 inserted between former levels -1 and 0
> facilitates that, with minimal impact on old code (-1 was never
> documented, and disabling EVERYTHING is not a good idea anyway).
>
> The main user for this is yum-cron.
Changing the API just because we don't know 100% it's used is not
great, and there is this in rhn-plugin:
self.doConfigSetup(debuglevel=self.cfg["debug"])
...also exposing the new -1 thing to the command line seems like a bad
idea (uses using it and complaining), even if we have to hack something
for yum-cron.
Can we not just fix the logging sites to use INFO_2 for these drpm
msgs?
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel