Merge m-c to b2g-inbound on a CLOSED TREE

This commit is contained in:
Wes Kocher 2014-07-28 17:25:49 -07:00
Родитель 8075a67a25 39f2cb9cf8
Коммит 0299e1b8be
1 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -47,6 +47,18 @@ from mozlog.structured.structuredlog import StructuredLogger
# not yet present in the mozharness environment
from mozrunner.utils import findInPath as which
# Necessary to set up the global logger in automationutils.py
import logging
log = logging.getLogger()
def resetGlobalLog():
while log.handlers:
log.removeHandler(log.handlers[0])
handler = logging.StreamHandler(sys.stdout)
log.setLevel(logging.INFO)
log.addHandler(handler)
resetGlobalLog()
###########################
# Option for NSPR logging #
###########################