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