Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #609 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

Unify logging and include config for it in quickstart

Reported by: scottakirkwood@… Owned by: anonymous
Priority: low Milestone: 0.9a5
Component: TurboGears Version:
Severity: minor Keywords:

Description (last modified by kevin) (diff)

TurboGears uses Python's logging module internally for logging debugging/error and info output. Configuration for this should be exposed in the config file (and the quickstart config should include it so that people know what to change).

Additionally, it would be good if we can route CherryPy?'s log messages through the same mechanisms (not sure if that's possible though).

Change History

comment:1 Changed 13 years ago by michele

IMHO this shouldn't be a quickstart thing, it's not a so common need and quickstart should just be the base for your project not an cover-everything-example.

I do think this should be well covered by TG docs anyway. ;-)

comment:2 Changed 13 years ago by kevin

  • Milestone changed from 0.9a1 to 0.9
  • Description modified (diff)
  • Summary changed from Add example of using cherrypy.log() command to quickstart to Unify logging and include config for it in quickstart

I'm commandeering this ticket to refocus it on running the logging through the same mechanism as much as possible (Python's logging module) and making it easily configurable. I'm also changing the milestone, because this won't be in 0.9a1.

comment:3 Changed 13 years ago by kevin

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from 0.9 to 0.9a5
Note: See TracTickets for help on using tickets.