-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmambupy_log.yaml
More file actions
70 lines (66 loc) · 1.53 KB
/
mambupy_log.yaml
File metadata and controls
70 lines (66 loc) · 1.53 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
version: 1
formatters:
standard:
format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
handlers:
apiv2:
class: logging.handlers.RotatingFileHandler
filename: /path_to/mambupy_api_v2.log
level: INFO
formatter: standard
maxBytes: 10485760 # 10Mb
backupCount: 20
encoding: utf8
apiv1:
class: logging.handlers.RotatingFileHandler
filename: /path_to/mambupy_api_v1.log
level: INFO
formatter: standard
maxBytes: 10485760 # 10Mb
backupCount: 20
encoding: utf8
backup_db:
class: logging.handlers.RotatingFileHandler
filename: /path_to/mambupy_backup_db.log
level: INFO
formatter: standard
maxBytes: 10485760 # 10Mb
backupCount: 20
encoding: utf8
mambupy:
class: logging.handlers.RotatingFileHandler
filename: /path_to/mambupy.log
level: INFO
formatter: standard
maxBytes: 10485760 # 10Mb
backupCount: 20
encoding: utf8
console:
class: logging.StreamHandler
level: INFO
formatter: standard
loggers:
mambupy.api.connector.rest:
level: INFO
handlers: [apiv2, console]
propagate: false
mambupy.api.entities:
level: INFO
handlers: [apiv2, console]
propagate: false
mambupy.rest.mambustruct:
level: INFO
handlers: [apiv1, console]
propagate: false
mambupy.backup_db:
level: INFO
handlers: [backup_db, console]
propagate: false
mambupy:
level: INFO
handlers: [mambupy, console]
propagate: false
root:
level: INFO
handlers: [console]
propagate: true