-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalembic.ini
More file actions
42 lines (33 loc) · 692 Bytes
/
Copy pathalembic.ini
File metadata and controls
42 lines (33 loc) · 692 Bytes
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
[alembic]
# path to migration scripts
script_location = db/migrate
# NOTE: Only used with alembic...
# app logging is define in the app.common.utils.log_handler
#
# Logging configuration.
# ----------------------
[loggers]
keys = root,sqlalchemy,alembic
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = DEBUG
handlers = console
qualname =
[logger_sqlalchemy]
level = DEBUG
handlers =
qualname = sqlalchemy.engine
[logger_alembic]
level = DEBUG
handlers =
qualname = alembic
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = DEBUG
formatter = generic
[formatter_generic]
format = [%(asctime)s] %(levelname)-8s | [%(name)s] -> %(message)s