Switch to unified view

a/ForgeWiki/sandbox-test.ini b/ForgeWiki/sandbox-test.ini
...
...
6
[DEFAULT]
6
[DEFAULT]
7
debug = true
7
debug = true
8
# Uncomment and replace with the address which should receive any error reports
8
# Uncomment and replace with the address which should receive any error reports
9
# email_to = you@yourdomain.com
9
# email_to = you@yourdomain.com
10
smtp_server = localhost
10
smtp_server = localhost
11
smtp_port = 8826
12
error_email_from = paste@localhost
11
error_email_from = paste@localhost
13
12
14
[server:main]
13
[server:main]
15
use = egg:Paste#http
14
use = egg:Paste#http
16
host = 0.0.0.0
15
host = 0.0.0.0
17
port = 5000
16
port = 5000
18
17
19
[app:main]
18
[app:main]
20
use = egg:pyforge#plugin_test
19
use = config:../pyforge/sandbox-test.ini
21
full_stack = true
22
use_queue = true
23
load_test_data = true
24
cache_test_data = true
25
20
26
cache_dir = %(here)s/data
21
[app:main_without_authn]
27
beaker.session.key = pyforge
22
use = config:../pyforge/sandbox-test.ini#main_without_authn
28
beaker.session.type = cookie
29
beaker.session.secret = 61ece7db-ba8d-49fe-a923-ab444741708c
30
beaker.session.validate_key = 714bfe3612c42390726f
31
23
32
auth.method = local
24
[app:main_with_amqp]
33
auth.ldap.server = ldap://localhost
25
use = config:../pyforge/sandbox-test.ini#main_with_amqp
34
auth.ldap.suffix = ou=people,dc=example,dc=com
35
auth.ldap.admin_dn = cn=admin,dc=example,dc=com
36
auth.ldap.admin_password = secret
37
38
gitweb.cgi = /usr/lib/cgi-bin/gitweb.cgi
39
40
static_root = /static/
41
42
# OEmbed Setup
43
oembed.config = %(here)s/oembed.ini
44
oembed.host = oembed.localhost.localdomain:8080
45
46
# Ming setup
47
ming.main.master = mongo://127.0.0.1:27017/pyforge:test
48
49
# SOLR setup
50
solr.server = http://localhost:50065/solr/
51
#solr.server = http://localhost:8983/solr/
52
53
sqlalchemy.url = sqlite:///%(here)s/devdata.db
54
#echo shouldn't be used together with the logging module.
55
sqlalchemy.echo = false
56
sqlalchemy.echo_pool = false
57
sqlalchemy.pool_recycle = 3600
58
templating.mako.reloadfromdisk = true
59
26
60
[loggers]
27
[loggers]
61
keys = root, pyforge, sqlalchemy
28
keys = root
62
29
63
[handlers]
30
[handlers]
64
keys = console
31
keys = test
65
32
66
[formatters]
33
[formatters]
67
keys = generic
34
keys = generic
68
35
69
# If you create additional loggers, add them as a key to [loggers]
70
[logger_root]
36
[logger_root]
71
level = INFO
37
level = INFO
72
handlers = console
38
handlers = test
73
39
74
[logger_pyforge]
40
[handler_test]
75
level = DEBUG
76
handlers =
77
qualname = pyforge
78
79
[logger_sqlalchemy]
80
level = INFO
81
handlers =
82
qualname = sqlalchemy.engine
83
# "level = INFO" logs SQL queries.
84
# "level = DEBUG" logs SQL queries and results.
85
# "level = WARN" logs neither.  (Recommended for production systems.)
86
87
88
# If you create additional handlers, add them as a key to [handlers]
89
[handler_console]
90
class = StreamHandler
41
class = FileHandler
91
args = (sys.stderr,)
42
args = ('test.log',)
92
level = NOTSET
43
level = NOTSET
93
formatter = generic
44
formatter = generic
94
45
95
# If you create additional formatters, add them as a key to [formatters]
96
[formatter_generic]
46
[formatter_generic]
97
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
98
datefmt = %H:%M:%S
48
datefmt = %H:%M:%S
99