blob: 78f8644446614c4ec3f8f426ef425892f8dff872 [file] [log] [blame]
[loggers]
keys=root
[handlers]
keys=console_handler,file_handler
[formatters]
keys=console_formatter,file_formatter
[logger_root]
level=DEBUG
handlers=console_handler,file_handler
[handler_console_handler]
class=StreamHandler
level=DEBUG
formatter=console_formatter
args=(sys.stdout,)
[handler_file_handler]
class=FileHandler
level=DEBUG
formatter=file_formatter
args=(os.path.join(os.environ['AUTOSERV_RESULTS'], 'server.log'), 'a')
[formatter_console_formatter]
format=[%(asctime)s %(levelname)-5.5s] %(message)s
datefmt=%H:%M:%S
[formatter_file_formatter]
format=[%(asctime)s %(levelname)-5.5s %(module)s] %(message)s
datefmt=%m/%d %H:%M:%S