[Android] Tests now log to stdout instead of stderr.
NOTRY=True BUG=258596 Review URL: https://chromiumcodereview.appspot.com/18612014 git-svn-id: http://src.chromium.org/svn/trunk/src/build@210967 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
acec8cbeb0
Коммит
4f9db973ff
|
@ -6,6 +6,7 @@
|
|||
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
||||
|
||||
|
@ -47,6 +48,6 @@ def SetLogLevel(verbose_count):
|
|||
log_level = logging.DEBUG
|
||||
logger = logging.getLogger()
|
||||
logger.setLevel(log_level)
|
||||
custom_handler = logging.StreamHandler()
|
||||
custom_handler = logging.StreamHandler(sys.stdout)
|
||||
custom_handler.setFormatter(CustomFormatter())
|
||||
logging.getLogger().addHandler(custom_handler)
|
||||
|
|
Загрузка…
Ссылка в новой задаче