install_prereq: Download latest Jansson.
[asterisk/asterisk.git] / contrib / ast-db-manage / cdr.ini.sample
1 # A generic, single database configuration.
2
3 [alembic]
4 # path to migration scripts
5 script_location = cdr
6
7 # template used to generate migration files
8 # file_template = %%(rev)s_%%(slug)s
9
10 # max length of characters to apply to the
11 # "slug" field
12 #truncate_slug_length = 40
13
14 # set to 'true' to run the environment during
15 # the 'revision' command, regardless of autogenerate
16 # revision_environment = false
17
18 #sqlalchemy.url = driver://user:pass@localhost/dbname
19
20 #sqlalchemy.url = postgresql://user:pass@localhost/cdr
21 sqlalchemy.url = mysql://user:pass@localhost/cdr
22
23
24 # Logging configuration
25 [loggers]
26 keys = root,sqlalchemy,alembic
27
28 [handlers]
29 keys = console
30
31 [formatters]
32 keys = generic
33
34 [logger_root]
35 level = WARN
36 handlers = console
37 qualname =
38
39 [logger_sqlalchemy]
40 level = WARN
41 handlers =
42 qualname = sqlalchemy.engine
43
44 [logger_alembic]
45 level = INFO
46 handlers =
47 qualname = alembic
48
49 [handler_console]
50 class = StreamHandler
51 args = (sys.stderr,)
52 level = NOTSET
53 formatter = generic
54
55 [formatter_generic]
56 format = %(levelname)-5.5s [%(name)s] %(message)s
57 datefmt = %H:%M:%S