#644: log_debug_info_filter.on comment
-------------------------+--------------------------------------------------
Reporter: anonymous | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: CherryPy | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by jardous):
Yes, it works for new quickstarted app but not for older (created with
9.x). Now, TG version is the latest svn (1.1a0). dev.cfg looks like:
{{{
[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
# premind/config/app.cfg
# DATABASE
# pick the form for your database
# sqlobject.dburi="postgres://[EMAIL PROTECTED]/databasename"
# sqlobject.dburi="mysql://username:[EMAIL PROTECTED]:port/databasename"
# sqlobject.dburi="sqlite:///file_name_and_path"
# If you have sqlite, here's a simple default to get you started
# in development
sqlobject.dburi="sqlite://%(current_dir_uri)s/premind.sqlite"
# if you are using a database or table type without transactions
# (MySQL default, for example), you should turn off transactions
# by prepending notrans_ on the uri
#
sqlobject.dburi="notrans_mysql://username:[EMAIL PROTECTED]:port/databasename"
# for Windows users, sqlite URIs look like:
# sqlobject.dburi="sqlite:///drive_letter:/path/to/file"
# SERVER
# Some server parameters that you may want to tweak
server.socket_port=8088
# Enable the debug output at the end on pages.
server.environment="development"
autoreload.package="premind"
# Set to True if you'd like to abort execution if a controller gets an
# unexpected parameter. False by default
tg.strict_parameters = True
#i18n.default_locale='cs'
session_filter.on = True
log_debug_info_filter.on = True
# LOGGING
# Logging configuration generally follows the style of the standard
# Python logging module configuration. Note that when specifying
# log format messages, you need to use *() for formatting variables.
# Deployment independent log configuration is in premind/config/log.cfg
[logging]
[[loggers]]
[[[premind]]]
level='DEBUG'
qualname='premind'
handlers=['debug_out']
[[[allinfo]]]
level='INFO'
handlers=['debug_out']
[[[access]]]
level='INFO'
qualname='turbogears.access'
handlers=['access_out']
propagate=0
}}}
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/644>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---