-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a default PasteDeploy ini file as part of mkzopeinstance.
Currently this is not fully functional. repoze.retry causes errors for failing to call start_response. Exceptions like NotFound aren't turned into their HTML form by neither WebError nor paste#httpexceptions.
- Loading branch information
Showing
5 changed files
with
45 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[app:zope] | ||
use = egg:Zope2#main | ||
zope_conf = %(here)s/wsgi.conf | ||
|
||
[pipeline:main] | ||
pipeline = | ||
# egg:repoze.retry#retry | ||
egg:repoze.tm2#tm | ||
zope | ||
|
||
[server:main] | ||
use = egg:paste#http | ||
host = 127.0.0.1 | ||
port = 8080 | ||
|
||
[loggers] | ||
keys = root | ||
|
||
[handlers] | ||
keys = console | ||
|
||
[formatters] | ||
keys = generic | ||
|
||
[logger_root] | ||
level = WARN | ||
handlers = console | ||
|
||
[handler_console] | ||
class = StreamHandler | ||
args = (sys.stderr,) | ||
level = NOTSET | ||
formatter = generic | ||
|
||
[formatter_generic] | ||
format = %(asctime)s - %(levelname)-5.5s [%(name)s] %(message)s | ||
datefmt = %Y-%m-%d %H:%M:%S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters