-
Notifications
You must be signed in to change notification settings - Fork 1
/
ara_logconfig.yml
43 lines (43 loc) · 977 Bytes
/
ara_logconfig.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
---
version: 1
disable_existing_loggers: false
formatters:
ara_standard:
format: '%(asctime)s %(levelname)s %(name)s: %(message)s'
handlers:
ara_console:
class: logging.StreamHandler
formatter: ara_standard
level: INFO
stream: ext://sys.stdout
ara_file:
class: logging.handlers.TimedRotatingFileHandler
formatter: ara_standard
level: INFO
filename: './reports/ara/db/ara.log'
when: 'midnight'
interval: 1
backupCount: 30
loggers:
ara:
handlers:
- ara_file
level: INFO
propagate: 0
alembic:
handlers:
- ara_console
- ara_file
level: WARN
propagate: 0
sqlalchemy.engine:
handlers:
- ara_file
level: WARN
propagate: 0
werkzeug:
handlers:
- ara_console
- ara_file
level: INFO
propagate: 0