summaryrefslogtreecommitdiff
path: root/server/debug_server.ini
blob: 78f8644446614c4ec3f8f426ef425892f8dff872 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[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