Switch to unified view

a/ForgeSCM/test.ini b/ForgeSCM/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
11
error_email_from = paste@localhost
12
error_email_from = paste@localhost
12
13
13
[server:main]
14
[server:main]
14
use = egg:Paste#http
15
use = egg:Paste#http
15
host = 0.0.0.0
16
host = 0.0.0.0
16
port = 5000
17
port = 5000
17
18
18
[app:main]
19
[app:main]
19
use = egg:pyforge#plugin_test
20
use = config:../pyforge/test.ini
20
full_stack = true
21
load_test_data = true
22
cache_test_data = true
23
21
24
cache_dir = %(here)s/data
22
[app:main_without_authn]
25
beaker.session.key = pyforge
23
use = config:../pyforge/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
24
30
# OEmbed Setup
25
[app:main_with_amqp]
31
oembed.config = %(here)s/oembed.ini
26
use = config:../pyforge/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:8983/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
27
47
[loggers]
28
[loggers]
48
keys = root, pyforge, sqlalchemy
29
keys = root
49
30
50
[handlers]
31
[handlers]
51
keys = test
32
keys = test
52
33
53
[formatters]
34
[formatters]
54
keys = generic
35
keys = generic
55
36
56
# If you create additional loggers, add them as a key to [loggers]
57
[logger_root]
37
[logger_root]
58
level = INFO
38
level = INFO
59
handlers = test
39
handlers = test
60
40
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]
41
[handler_test]
77
class = FileHandler
42
class = FileHandler
78
args = ('test.log',)
43
args = ('test.log',)
79
level = NOTSET
44
level = NOTSET
80
formatter = generic
45
formatter = generic
81
46
82
# If you create additional formatters, add them as a key to [formatters]
83
[formatter_generic]
47
[formatter_generic]
84
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
48
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
85
datefmt = %H:%M:%S
49
datefmt = %H:%M:%S
86