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
33
34
35
|
[loggers]
keys=root
[handlers]
keys=console,file,email
[formatters]
keys=file,console
[logger_root]
level=DEBUG
handlers=console,file
[handler_console]
class=StreamHandler
level=DEBUG
formatter=console
args=(sys.stderr,)
[handler_file]
class=FileHandler
level=INFO
args=('logs/ibid.log',)
formatter=file
[handler_email]
class=handlers.SMTPHandler
level=ERROR
args=('localhost', 'ibid@localhost', ['mgorven@localhost'], 'Error Report')
[formatter_file]
format=%(asctime)s %(levelname)s %(name)s: %(message)s
[formatter_console]
format=%(levelname)s %(name)s: %(message)s
|