Re: New mock logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael E Brown wrote:
On Fri, Nov 09, 2007 at 04:47:11PM -0700, Orion Poplawski wrote:
How do I get rid of the:

2007-11-09 16:46:03,285 - util.py:194:DEBUG:

prefix that seems to have appeared with mock 0.8 (0.8.4)? At least from the build.log. Might be useful in the other logs...

Well, the problem I ran into was that the python logging module doesnt
provide a nice way to pull handlers/formatters from the config file by
name. The relevant code is in backend.py in the _resetLogging()
function.

On line 475, I set up the formatter. I can probably figure out a way to
put the format line in the config file, but for now it is hardcoded.

It is nearly impossible to decipher what is going on in the builds as it stands.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@xxxxxxxxxxxxx
Boulder, CO 80301              http://www.cora.nwra.com

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux