On Thu, 11 Jun 2009, MacCana, Mike \(London\) wrote:
-----Original Message-----
From: yum-devel-boun...@lists.baseurl.org
[mailto:yum-devel-boun...@lists.baseurl.org] On Behalf Of Seth Vidal
Sent: 11 June 2009 16:19
To: yum development
Subject: Re: [Yum-devel] Making yum quiet - yum.logginglevels.setDebugLevel(0)
seemingly not working...
On Thu, 11 Jun 2009, MacCana, Mike \(London\) wrote:
Hi folks,
I'm installing a few packages using yum.YumBase.install in a
postinstall. From the module docs, I gather setDebugLevel(0) should be the
equivalent of a yum '--quiet', but alas, the following code...
the debuglevel is for for yum cli output callbacks. You're not using
those- so you're getting the default callbacks.
-sv
Thanks Seth. Is doLoggingSetup() also for the cli only (as I've tried it with
the same results)?
How can I modify logging levels for API-level access?
For API level access you really don't set it. You want to make your
logging callback do whatever you want it to do.
-sv
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel