Line | |
---|
1 | ### |
---|
2 | # app configuration |
---|
3 | # http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html |
---|
4 | ### |
---|
5 | |
---|
6 | [app:main] |
---|
7 | use = egg:media_conv |
---|
8 | caching = false |
---|
9 | max_threads = 25 |
---|
10 | ffmpeg_command = ffmpeg |
---|
11 | |
---|
12 | pyramid.reload_templates = false |
---|
13 | pyramid.debug_authorization = false |
---|
14 | pyramid.debug_notfound = false |
---|
15 | pyramid.debug_routematch = false |
---|
16 | pyramid.default_locale_name = en |
---|
17 | |
---|
18 | ### |
---|
19 | # wsgi server configuration |
---|
20 | ### |
---|
21 | |
---|
22 | [server:main] |
---|
23 | use = egg:waitress#main |
---|
24 | host = 0.0.0.0 |
---|
25 | port = 6543 |
---|
26 | |
---|
27 | ### |
---|
28 | # logging configuration |
---|
29 | # http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html |
---|
30 | ### |
---|
31 | |
---|
32 | [loggers] |
---|
33 | keys = root, media_conv |
---|
34 | |
---|
35 | [handlers] |
---|
36 | keys = console |
---|
37 | |
---|
38 | [formatters] |
---|
39 | keys = generic |
---|
40 | |
---|
41 | [logger_root] |
---|
42 | level = INFO |
---|
43 | handlers = console |
---|
44 | |
---|
45 | [logger_media_conv] |
---|
46 | level = INFO |
---|
47 | handlers = |
---|
48 | qualname = media_conv |
---|
49 | |
---|
50 | [handler_console] |
---|
51 | class = StreamHandler |
---|
52 | args = (sys.stderr,) |
---|
53 | level = INFO |
---|
54 | formatter = generic |
---|
55 | |
---|
56 | [formatter_generic] |
---|
57 | format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s |
---|
Note: See
TracBrowser
for help on using the repository browser.