-
Notifications
You must be signed in to change notification settings - Fork 2
/
logging.yml
57 lines (55 loc) · 1.21 KB
/
logging.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: 1
disable_existing_loggers: False
formatters:
default:
format: '%(asctime)s:%(name)s:%(module)s:%(funcName)s:%(lineno)d:%(levelname)s:%(message)s'
console:
format: '[%(asctime)s] (%(name)s:%(funcName)s:%(lineno)d:%(levelname)s) %(message)s'
datefmt: "%Y-%m-%d %H:%M:%S"
email:
format: '[%(levelname)-8s] %(message)s'
datefmt: "%Y-%m-%d %H:%M:%S"
handlers:
console:
class: logging.StreamHandler
level: DEBUG
formatter: console
stream: ext://sys.stdout
# main:
# () : __main__.logpath
# level: DEBUG
# formatter: default
main:
class: logging.FileHandler
filename: main.log
level: DEBUG
formatter: default
loggers:
monitor:
level: DEBUG
handlers: [console, main]
propagate: true
config:
level: DEBUG
handlers: [console, main]
propagate: true
tools:
level: DEBUG
handlers: [console, main]
propagate: true
find:
level: DEBUG
handlers: [console, main]
propagate: true
git:
level: DEBUG
handlers: [console, main]
propagate: true
qsub:
level: DEBUG
handlers: [console, main]
propagate: true
annotate:
level: DEBUG
handlers: [console, main]
propagate: true