|
a/ForgeSCM/sandbox-test.ini |
|
b/ForgeSCM/sandbox-test.ini |
|
... |
|
... |
14 |
use = egg:Paste#http
|
14 |
use = egg:Paste#http
|
15 |
host = 0.0.0.0
|
15 |
host = 0.0.0.0
|
16 |
port = 5000
|
16 |
port = 5000
|
17 |
|
17 |
|
18 |
[app:main]
|
18 |
[app:main]
|
19 |
use = egg:pyforge#plugin_test
|
19 |
use = config:../pyforge/sandbox-test.ini
|
20 |
full_stack = true
|
|
|
21 |
load_test_data = true
|
|
|
22 |
cache_test_data = true
|
|
|
23 |
|
20 |
|
24 |
cache_dir = %(here)s/data
|
21 |
[app:main_without_authn]
|
25 |
beaker.session.key = pyforge
|
22 |
use = config:../pyforge/sandbox-test.ini#main_without_authn
|
26 |
beaker.session.type = cookie
|
|
|
27 |
beaker.session.secret = 61ece7db-ba8d-49fe-a923-ab444741708c
|
|
|
28 |
beaker.session.validate_key = 714bfe3612c42390726f
|
|
|
29 |
|
23 |
|
30 |
# OEmbed Setup
|
24 |
[app:main_with_amqp]
|
31 |
oembed.config = %(here)s/oembed.ini
|
25 |
use = config:../pyforge/sandbox-test.ini#main_with_amqp
|
32 |
oembed.host = oembed.localhost.localdomain:8080
|
|
|
33 |
|
|
|
34 |
# Ming setup
|
|
|
35 |
ming.main.master = mongo://127.0.0.1:27017/pyforge:test
|
|
|
36 |
|
|
|
37 |
# SOLR setup
|
|
|
38 |
solr.server = http://localhost:50065/solr
|
|
|
39 |
|
|
|
40 |
sqlalchemy.url = sqlite:///%(here)s/devdata.db
|
|
|
41 |
#echo shouldn't be used together with the logging module.
|
|
|
42 |
sqlalchemy.echo = false
|
|
|
43 |
sqlalchemy.echo_pool = false
|
|
|
44 |
sqlalchemy.pool_recycle = 3600
|
|
|
45 |
templating.mako.reloadfromdisk = true
|
|
|
46 |
|
26 |
|
47 |
[loggers]
|
27 |
[loggers]
|
48 |
keys = root, pyforge, sqlalchemy
|
28 |
keys = root
|
49 |
|
29 |
|
50 |
[handlers]
|
30 |
[handlers]
|
51 |
keys = test
|
31 |
keys = test
|
52 |
|
32 |
|
53 |
[formatters]
|
33 |
[formatters]
|
54 |
keys = generic
|
34 |
keys = generic
|
55 |
|
35 |
|
56 |
# If you create additional loggers, add them as a key to [loggers]
|
|
|
57 |
[logger_root]
|
36 |
[logger_root]
|
58 |
level = INFO
|
37 |
level = INFO
|
59 |
handlers = test
|
38 |
handlers = test
|
60 |
|
39 |
|
61 |
[logger_pyforge]
|
|
|
62 |
level = DEBUG
|
|
|
63 |
handlers =
|
|
|
64 |
qualname = pyforge
|
|
|
65 |
|
|
|
66 |
[logger_sqlalchemy]
|
|
|
67 |
level = INFO
|
|
|
68 |
handlers =
|
|
|
69 |
qualname = sqlalchemy.engine
|
|
|
70 |
# "level = INFO" logs SQL queries.
|
|
|
71 |
# "level = DEBUG" logs SQL queries and results.
|
|
|
72 |
# "level = WARN" logs neither. (Recommended for production systems.)
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
# If you create additional handlers, add them as a key to [handlers]
|
|
|
76 |
[handler_test]
|
40 |
[handler_test]
|
77 |
class = FileHandler
|
41 |
class = FileHandler
|
78 |
args = ('test.log',)
|
42 |
args = ('test.log',)
|
79 |
level = NOTSET
|
43 |
level = NOTSET
|
80 |
formatter = generic
|
44 |
formatter = generic
|
81 |
|
45 |
|
82 |
# If you create additional formatters, add them as a key to [formatters]
|
|
|
83 |
[formatter_generic]
|
46 |
[formatter_generic]
|
84 |
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
|
47 |
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
|
85 |
datefmt = %H:%M:%S
|
48 |
datefmt = %H:%M:%S
|
86 |
|
|
|