Last change
on this file since 11060 was
7713,
checked in by uli, 13 years ago
|
Some modifications that make it possible at least to create a new university with Grok toolkit 1.4 (grok 1.6)
|
File size:
1019 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 |
---|
[7713] | 57 | threadpool_workers = 50 |
---|
| 58 | use_threadpool = True |
---|
[5493] | 59 | |
---|
| 60 | [DEFAULT] |
---|
| 61 | # set the name of the zope.conf file |
---|
| 62 | zope_conf = %(here)s/zope.conf |
---|
Note: See
TracBrowser for help on using the repository browser.