showard | 136e6dc | 2009-06-10 19:38:49 +0000 | [diff] [blame^] | 1 | import common |
2 | import logging | ||||
3 | from autotest_lib.client.common_lib import logging_config | ||||
4 | |||||
5 | class BabysitterLoggingConfig(logging_config.LoggingConfig): | ||||
6 | def configure_logging(self): | ||||
7 | super(BabysitterLoggingConfig, self).configure_logging(use_console=True) | ||||
8 | |||||
9 | self.add_file_handler(self.get_timestamped_log_name('babysitter'), | ||||
10 | logging.DEBUG, | ||||
11 | log_dir=self.get_server_log_dir()) |