3 from autotest_lib
.client
.common_lib
import logging_config
5 class BabysitterLoggingConfig(logging_config
.LoggingConfig
):
6 def __init__(self
, use_console
=True):
7 self
.use_console
= use_console
8 super(BabysitterLoggingConfig
, self
).__init
__()
10 def configure_logging(self
):
11 super(BabysitterLoggingConfig
, self
).configure_logging(
12 use_console
=self
.use_console
)
14 self
.add_file_handler(self
.get_timestamped_log_name('babysitter'),
16 log_dir
=self
.get_server_log_dir())