Switch to unified view

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