blob: cf2d699c02d2cd3a9c0aa951a94edaf8e4083a13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import common
import logging
from autotest_lib.client.common_lib import logging_config
class BabysitterLoggingConfig(logging_config.LoggingConfig):
def configure_logging(self):
super(BabysitterLoggingConfig, self).configure_logging(use_console=True)
self.add_file_handler(self.get_timestamped_log_name('babysitter'),
logging.DEBUG,
log_dir=self.get_server_log_dir())
|