Thanks for the help.  Here is my dev.cfg

[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
# traam/config/app.cfg

# DATABASE

# driver://username:[EMAIL PROTECTED]:port/database

# pick the form for your database
# sqlalchemy.dburi="postgres://[EMAIL PROTECTED]/databasename"
# sqlalchemy.dburi="mysql://username:[EMAIL PROTECTED]:port/
databasename"
# sqlalchemy.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"

# If you have sqlite, here's a simple default to get you started
# in development
sqlalchemy.dburi="sqlite:///devdata.sqlite"

# set to 1 to make SQLAlchemy echo SQL commands on the console
sqlalchemy.echo = 0

# SERVER

# Some server parameters that you may want to tweak
# server.socket_port=8080

# Enable the debug output at the end on pages.
# log_debug_info_filter.on = False

server.environment="development"
autoreload.package="traam"

# session_filter.on = True

# Set to True if you'd like to abort execution if a controller gets an
# unexpected parameter. False by default
tg.strict_parameters = 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 traam/config/log.cfg
[logging]

[[loggers]]
[[[toscawidgets.view]]]
level='ERROR'
qualname='toscawidgets.view'
handlers=['debug_out']
propagate=0

[[[traam]]]
level='DEBUG'
qualname='traam'
handlers=['debug_out']

[[[allinfo]]]
level='INFO'
handlers=['debug_out']

[[[access]]]
level='INFO'
qualname='turbogears.access'
handlers=['access_out']
propagate=0


On Mar 14, 5:37 am, Alberto Valverde <[EMAIL PROTECTED]> wrote:
> On Mar 13, 2007, at 10:18 PM, percious wrote:
>
>
>
> > Bump?
>
> > I am still having this problem.
>
> I'm afraid there's not much I can do as this seems related to your
> logging configuration. Make sure you declare a hander for  toscawidgets.view, 
> either by declaring it in TG's config file or
> explicitly by:
>
> logging.basicConfig(stream=sys.stderr)
> logging.getLogger("toscawidgets.view").setLevel(logging.ERROR)
>
> I havenoidea why TG's logging setup is not setting a handler if you
> specify it in the config file (works for me). Are you able to
> configure otherhandlers? Are you sure there arenotypos in the  handlers' 
> names?
>
> pydoc logging might shed some light on the issue.
>
> Alberto
>
>
>
> > On Feb 5, 11:33 am, "percious" <[EMAIL PROTECTED]> wrote:
> >> Sorry, still not working.
>
> >> -perciouswww.percious.com
>
> >> On Jan 31, 3:27 pm, Alberto Valverde <[EMAIL PROTECTED]> wrote:
>
> >>> On Jan 31, 2007, at 9:16 PM, Alberto Valverde wrote:
>
> >>>> On Jan 31, 2007, at 9:03 PM, percious wrote:
>
> >>>>> Still not working... Any other ideas?
>
> >>>> Try:
>
> >>>> [[[toscawidgets.view]]]
> >>>> level='ERROR'
> >>>> qualname='toscawidgets'
> >>>>handlers=['debug_out']
> >>>> propagate=0
>
> >>>> Alberto
>
> >>> Ooops, that should be:
>
> >>> [[[toscawidgets.view]]]
> >>> level='ERROR'
> >>> qualname='toscawidgets.view'
> >>>handlers=['debug_out']
> >>> propagate=0
>
> >>> Alberto


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to