3 from autotest_lib
.client
.common_lib
import logging_config
5 class SchedulerLoggingConfig(logging_config
.LoggingConfig
):
6 GLOBAL_LEVEL
= logging
.INFO
10 return cls
.get_timestamped_log_name('scheduler')
13 def configure_logging(self
, log_dir
=None, logfile_name
=None):
14 super(SchedulerLoggingConfig
, self
).configure_logging(use_console
=True)
17 log_dir
= self
.get_server_log_dir()
19 logfile_name
= self
.get_log_name()
21 self
.add_file_handler(logfile_name
, logging
.DEBUG
, log_dir
=log_dir
)