Author: chrisz
Date: Sat Jan 26 06:22:21 2008
New Revision: 4049
URL: http://trac.turbogears.org/changeset/4049

Log:
Fix for ticket #1630 (added missing logger config to quickstarted projects) 
merged to 1.1 branch.

Modified:
   branches/1.1/turbogears/qstemplates/quickstart/dev.cfg_tmpl
   branches/1.1/turbogears/qstemplates/quickstart/test.cfg_tmpl

Modified: branches/1.1/turbogears/qstemplates/quickstart/dev.cfg_tmpl
==============================================================================
--- branches/1.1/turbogears/qstemplates/quickstart/dev.cfg_tmpl (original)
+++ branches/1.1/turbogears/qstemplates/quickstart/dev.cfg_tmpl Sat Jan 26 
06:22:21 2008
@@ -1,7 +1,7 @@
 [global]
 # This is where all of your settings go for your development environment
 # Settings that are the same for both development and production
-# (such as template engine, encodings, etc.) all go in 
+# (such as template engine, encodings, etc.) all go in
 # ${package}/config/app.cfg
 
 # DATABASE
@@ -79,6 +79,14 @@
 handlers=['access_out']
 propagate=0
 
+#if $identity != 'none'
+[[[identity]]]
+level='INFO'
+qualname='turbogears.identity'
+handlers=['access_out']
+propagate=0
+#end if
+
 #if $sqlalchemy == "True"
 [[[database]]]
 # Set to INFO to make SQLAlchemy display SQL commands

Modified: branches/1.1/turbogears/qstemplates/quickstart/test.cfg_tmpl
==============================================================================
--- branches/1.1/turbogears/qstemplates/quickstart/test.cfg_tmpl        
(original)
+++ branches/1.1/turbogears/qstemplates/quickstart/test.cfg_tmpl        Sat Jan 
26 06:22:21 2008
@@ -1,9 +1,37 @@
+[global]
 # You can place test-specific configuration options here (like test db uri, 
etc)
 #
 
+# DATABASE
+
 #if $sqlalchemy != "True"
 sqlobject.dburi = "sqlite:///:memory:"
 #else
 sqlalchemy.dburi = "sqlite:///:memory:"
 #end if
 
+# LOGGING
+
+[logging]
+
+[[formatters]]
+[[[full_content]]]
+format='*(asctime)s *(name)s *(levelname)s *(message)s'
+
+[[handlers]]
+[[[test_out]]]
+class='StreamHandler'
+level='DEBUG'
+args='(sys.stdout,)'
+formatter='full_content'
+
+[[loggers]]
+[[[${package}]]]
+level='DEBUG'
+qualname='${package}'
+handlers=['test_out']
+
+[[[turbogears]]]
+level='INFO'
+qualname='turbogears'
+handlers=['test_out']

Reply via email to