Make harnesses using automation.py set up a log handler

NEW
Unassigned

Status

Testing
General
5 years ago
5 years ago

People

(Reporter: jdm, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
From bug 597064 comment 81:

>::: build/automation.py.in
>@@ +88,5 @@
>> +  while _log.handlers:
>> +    _log.removeHandler(_log.handlers[0])
>> +  handler = logging.StreamHandler(log)
>> +  _log.setLevel(logging.INFO)
>> +  _log.addHandler(handler)
>
>I guess ideally we'd push this up into each of the harnesses that are using
>automation.py. It seems wrong for this module to be setting the log handler. Can 
>you file a followup for that?
You need to log in before you can comment on or make changes to this bug.