-
Notifications
You must be signed in to change notification settings - Fork 252
/
logging.ini
37 lines (29 loc) · 927 Bytes
/
logging.ini
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
36
37
# =============================================================================
# logging configuration
# -----------------------------------------------------------------------------
# https://docs.python.org/3/howto/logging.html#configuring-logging
# =============================================================================
[loggers]
keys : root,pivotal
[logger_root]
handlers : file
level : WARNING
[logger_pivotal]
qualname : pivotal
handlers : file
propagate : 0
level : INFO
# -----------------------------------------------------------------------------
# handlers and formatters
# -----------------------------------------------------------------------------
[handlers]
keys : file
[handler_file]
class : FileHandler
args : ['test.log', 'w']
formatter : file
level : DEBUG
[formatters]
keys : file
[formatter_file]
format : [%(asctime)s] %(message)s