Upstream Autotest merge.
As titled, a merge up to 93fc426ca133e775eb495f34d138fc57d92fb55e.
- Removes a bunch of deprecated code.
- Moves several private utilities into the private repo.
- Couple changes ported upstream and resynced.
BUG=None
TEST=In progress... will spin up new Autotest server and use
run_remote_tests for bvt, regression, smoke.
Change-Id: Id3e2ad529bb7b05f148e5d98aea46bb9ea828200
Reviewed-on: http://gerrit.chromium.org/gerrit/3350
Tested-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
diff --git a/scheduler/babysitter_logging_config.py b/scheduler/babysitter_logging_config.py
index cf2d699..dde41a8 100644
--- a/scheduler/babysitter_logging_config.py
+++ b/scheduler/babysitter_logging_config.py
@@ -3,8 +3,13 @@
from autotest_lib.client.common_lib import logging_config
class BabysitterLoggingConfig(logging_config.LoggingConfig):
+ def __init__(self, use_console=True):
+ self.use_console = use_console
+ super(BabysitterLoggingConfig, self).__init__()
+
def configure_logging(self):
- super(BabysitterLoggingConfig, self).configure_logging(use_console=True)
+ super(BabysitterLoggingConfig, self).configure_logging(
+ use_console=self.use_console)
self.add_file_handler(self.get_timestamped_log_name('babysitter'),
logging.DEBUG,