blob: dfcb6e995dc3754022a88b1a798c44f670930985 [file] [log] [blame]
import common
import logging
from autotest_lib.client.common_lib import logging_config
class BabysitterLoggingConfig(logging_config.LoggingConfig):
def __init__(self, use_console=True):
super(BabysitterLoggingConfig, self).__init__(use_console=use_console)
def configure_logging(self):
super(BabysitterLoggingConfig, self).configure_logging(
use_console=self.use_console)
self.add_file_handler(self.get_timestamped_log_name('babysitter'),
logging.DEBUG,
log_dir=self.get_server_log_dir())