summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/src/views/development.ini
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-11-20 22:00:28 -0500
committerChris McDonough <chrism@plope.com>2012-11-20 22:00:28 -0500
commit69883fbb866c4f0970f2cd46a83fe57548dfe059 (patch)
tree5ee4699dc01c43880b461dd2ba24278c2c74562b /docs/tutorials/wiki/src/views/development.ini
parent68886507c9e94fefa9e6c28b2b49c4da5b3ef77e (diff)
parent8fcc3212d7bbcf3720824c940b2337f9b4c958fd (diff)
downloadpyramid-69883fbb866c4f0970f2cd46a83fe57548dfe059.tar.gz
pyramid-69883fbb866c4f0970f2cd46a83fe57548dfe059.tar.bz2
pyramid-69883fbb866c4f0970f2cd46a83fe57548dfe059.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/tutorials/wiki/src/views/development.ini')
-rw-r--r--docs/tutorials/wiki/src/views/development.ini30
1 files changed, 25 insertions, 5 deletions
diff --git a/docs/tutorials/wiki/src/views/development.ini b/docs/tutorials/wiki/src/views/development.ini
index f637ebaa6..72bd22e54 100644
--- a/docs/tutorials/wiki/src/views/development.ini
+++ b/docs/tutorials/wiki/src/views/development.ini
@@ -1,5 +1,11 @@
+###
+# app configuration
+# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
+###
+
[app:main]
use = egg:tutorial
+
pyramid.reload_templates = true
pyramid.debug_authorization = false
pyramid.debug_notfound = false
@@ -13,15 +19,26 @@ pyramid.includes =
tm.attempts = 3
zodbconn.uri = file://%(here)s/Data.fs?connection_cache_size=20000
+# By default, the toolbar only appears for clients from IP addresses
+# '127.0.0.1' and '::1'.
+# debugtoolbar.hosts = 127.0.0.1 ::1
+
+###
+# 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
+keys = root, tutorial
[handlers]
keys = console
@@ -33,6 +50,11 @@ keys = generic
level = INFO
handlers = console
+[logger_tutorial]
+level = DEBUG
+handlers =
+qualname = tutorial
+
[handler_console]
class = StreamHandler
args = (sys.stderr,)
@@ -40,6 +62,4 @@ level = NOTSET
formatter = generic
[formatter_generic]
-format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s
-
-# End logging configuration
+format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s