= Python Trac Log Handler = == Description == This module allows you to tell the standard python stdlib logger to log into a trac of your choice. For example you can configure your web application to use the trac log handler and report any exceptions or errors that occur while processing the request into your trac. == Bugs/Feature Requests == Existing bugs and feature requests for PythonTracLogHandlerIntegration are [report:9?COMPONENT=PythonTracLogHandlerIntegration here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=PythonTracLogHandlerIntegration&owner=mitsuhiko new ticket]. == Download == Download the zipped source from [http://dev.pocoo.org/hg/sandbox/raw-file/tip/trachandler.py here]. == Source == You can check out PythonTracLogHandlerIntegration from [http://dev.pocoo.org/hg/sandbox/ the pocoo sandbox] using Mercurial, or [http://dev.pocoo.org/hg/sandbox/ browse the source] with hgweb. == Example == {{{ import trachandler import logging handler = trachandler.TracHandler('http://example.org/trac') logging.getLogger().addHandler(handler) }}} For more details have a look at the signature of the `TracHandler` constructor. == Author/Contributors == '''Author:''' [wiki:mitsuhiko] [[BR]] '''Contributors:'''