summaryrefslogtreecommitdiff
path: root/docs/narr/MyProject/production.ini
diff options
context:
space:
mode:
authorBlaise Laflamme <blaise@laflamme.org>2014-01-03 23:29:50 -0500
committerBlaise Laflamme <blaise@laflamme.org>2014-01-03 23:29:50 -0500
commit7bffb5889cddec7ed8eea505004c30d01513c767 (patch)
treef7a403739e5b1ae039ffb2ffdce3604053dae2fe /docs/narr/MyProject/production.ini
parent59882984b368f8e0c81411283a121359083099e0 (diff)
downloadpyramid-7bffb5889cddec7ed8eea505004c30d01513c767.tar.gz
pyramid-7bffb5889cddec7ed8eea505004c30d01513c767.tar.bz2
pyramid-7bffb5889cddec7ed8eea505004c30d01513c767.zip
modified MyProject src
Diffstat (limited to 'docs/narr/MyProject/production.ini')
-rw-r--r--docs/narr/MyProject/production.ini16
1 files changed, 13 insertions, 3 deletions
diff --git a/docs/narr/MyProject/production.ini b/docs/narr/MyProject/production.ini
index 3396125f2..9eae9e03f 100644
--- a/docs/narr/MyProject/production.ini
+++ b/docs/narr/MyProject/production.ini
@@ -1,3 +1,8 @@
+###
+# app configuration
+# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
+###
+
[app:main]
use = egg:MyProject
@@ -7,12 +12,19 @@ pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
+###
+# wsgi server configuration
+###
+
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543
-# Begin logging configuration
+###
+# logging configuration
+# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
+###
[loggers]
keys = root, myproject
@@ -40,5 +52,3 @@ formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
-
-# End logging configuration