source: main/waeup.sirp/branches/workshop2010-playground/etc/deploy.ini.in @ 11110

Last change on this file since 11110 was 5556, checked in by niyi, 14 years ago

Set default IP to 0.0.0.0 in order not to block the portal for remote users

File size: 973 bytes
RevLine 
[5493]1# deploy.ini
2#
3# Deployment configuration for use with paster/WSGI
4#
5
6[loggers]
7keys = root, wsgi
8
9[handlers]
10keys = console, accesslog
11
12[formatters]
13keys = generic, accesslog
14
15[logger_root]
16level = INFO
17handlers = console
18
19[logger_wsgi]
20level = INFO
21handlers = accesslog
22qualname = wsgi
23propagate = 0
24
25[handler_console]
26class = StreamHandler
27args = (sys.stderr,)
28level = NOTSET
29formatter = generic
30
31[handler_accesslog]
32class = FileHandler
33args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
34        'a')
35level = INFO
36formatter = accesslog
37
38[formatter_generic]
39format = %(asctime)s %(levelname)s [%(name)s] %(message)s
40
41[formatter_accesslog]
42format = %(message)s
43
44[filter:translogger]
45use = egg:Paste#translogger
46setup_console_handler = False
47logger_name = wsgi
48
49[app:main]
50use = egg:waeup.sirp
51filter-with = translogger
52
53[server:main]
54use = egg:Paste#http
[5556]55host = 0.0.0.0
[5493]56port = 8080
57
58[DEFAULT]
59# set the name of the zope.conf file
60zope_conf = %(here)s/zope.conf
Note: See TracBrowser for help on using the repository browser.