|
a |
|
b/ForgeDownloads/sandbox-test.ini |
|
|
1 |
#
|
|
|
2 |
# pyforge - TurboGears 2 testing environment configuration
|
|
|
3 |
#
|
|
|
4 |
# The %(here)s variable will be replaced with the parent directory of this file
|
|
|
5 |
#
|
|
|
6 |
[DEFAULT]
|
|
|
7 |
debug = true
|
|
|
8 |
# Uncomment and replace with the address which should receive any error reports
|
|
|
9 |
# email_to = you@yourdomain.com
|
|
|
10 |
smtp_server = localhost
|
|
|
11 |
error_email_from = paste@localhost
|
|
|
12 |
|
|
|
13 |
[server:main]
|
|
|
14 |
use = egg:Paste#http
|
|
|
15 |
host = 0.0.0.0
|
|
|
16 |
port = 5000
|
|
|
17 |
|
|
|
18 |
[app:main]
|
|
|
19 |
use = config:../pyforge/sandbox-test.ini
|
|
|
20 |
|
|
|
21 |
[app:main_without_authn]
|
|
|
22 |
use = config:../pyforge/sandbox-test.ini#main_without_authn
|
|
|
23 |
|
|
|
24 |
[app:main_with_amqp]
|
|
|
25 |
use = config:../pyforge/sandbox-test.ini#main_with_amqp
|
|
|
26 |
|
|
|
27 |
[loggers]
|
|
|
28 |
keys = root
|
|
|
29 |
|
|
|
30 |
[handlers]
|
|
|
31 |
keys = test
|
|
|
32 |
|
|
|
33 |
[formatters]
|
|
|
34 |
keys = generic
|
|
|
35 |
|
|
|
36 |
[logger_root]
|
|
|
37 |
level = INFO
|
|
|
38 |
handlers = test
|
|
|
39 |
|
|
|
40 |
[handler_test]
|
|
|
41 |
class = FileHandler
|
|
|
42 |
args = ('test.log',)
|
|
|
43 |
level = NOTSET
|
|
|
44 |
formatter = generic
|
|
|
45 |
|
|
|
46 |
[formatter_generic]
|
|
|
47 |
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
|
|
|
48 |
datefmt = %H:%M:%S
|