Fix another tests.
[mediagoblin.git] / paste.ini
1 # If you want to make changes to this file, first copy it to
2 # paste_local.ini, then make the changes there.
3
4 [DEFAULT]
5 # Set to true to enable web-based debugging messages and etc.
6 debug = false
7
8 [pipeline:main]
9 pipeline = errors mediagoblin
10
11 [app:mediagoblin]
12 use = egg:mediagoblin#app
13 config = %(here)s/mediagoblin_local.ini %(here)s/mediagoblin.ini
14 # static paths
15 /mgoblin_media = %(here)s/user_dev/media/public
16 /mgoblin_static = %(here)s/mediagoblin/static
17 /theme_static = %(here)s/user_dev/theme_static
18 /plugin_static = %(here)s/user_dev/plugin_static
19
20 [loggers]
21 keys = root
22
23 [handlers]
24 keys = console
25
26 [formatters]
27 keys = generic
28
29 [logger_root]
30 level = INFO
31 handlers = console
32
33 [handler_console]
34 class = StreamHandler
35 args = (sys.stderr,)
36 level = NOTSET
37 formatter = generic
38
39 [formatter_generic]
40 format = %(asctime)s %(levelname)-7.7s [%(name)s] %(message)s
41
42 [filter:errors]
43 use = egg:mediagoblin#errors
44 debug = false
45
46
47 ##############################
48 # Server configuration options
49 ##############################
50
51 # The server that is run by default.
52 # By default, should only be accessable locally
53 [server:main]
54 use = egg:gunicorn
55 host = 127.0.0.1
56 port = 6543
57 # Gunicorn settings. See http://docs.gunicorn.org/en/19.0/settings.html
58 # for more information about configuring Gunicorn
59 proc_name = gmg
60 reload = true
61 accesslog = -