Hi There,

Just noticing a bit of weirdness with logging exceptions in TG.

I setup my TG app on webfaction to run under a subdirectory (using
server.webpath) and then changed my config file to use the example
production logging as detailed here:

  http://trac.turbogears.org/wiki/LoggingConfigurationExamples

This runs fine locally (I see exception traces etc and the request
being recorded).  However when I run my app at webfaction I get
exceptions like the following (in my info log):

2007-03-07 11:51:35,547 cherrypy.msg INFO : Page handler: "The path
'/' was not found."
Traceback (most recent call last):
  File "/home2/lilspikey/lib/python2.4/CherryPy-2.2.1-py2.4.egg/
cherrypy/filters/__init__.py", line 145, in applyFilters
    method()
  File "/home2/lilspikey/lib/python2.4/TurboGears-1.0-py2.4.egg/
turbogears/startup.py", line 135, in on_start_resource
    raise cherrypy.NotFound(path)
NotFound: 404

2007-03-07 11:51:35,556 turbogears.access INFO 127.0.0.1 - lilspikey
"GET / HTTP/1.1" 200 1848 "" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X;
en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3"

However things still work.  The no 404 is ever shown to the user.  So
I'm guessing that this maybe just shouldn't be getting logged at the
info level, as it's meant to happen?  Is this just my logging
configuration being setup wrong, or is something else going on?

Some advice would be handy, as it's just making me a bit nervous that
I've got something wrong somewhere.

cheers,

  John


--~--~---------~--~----~------------~-------~--~----~
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