New mock logging
Orion Poplawski
orion at cora.nwra.com
Mon Nov 12 22:45:28 UTC 2007
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 at cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
More information about the fedora-devel-list
mailing list