[Python-Dev] Logging enhancements
Neal Norwitz
nnorwitz at gmail.com
Tue Jan 10 00:06:04 CET 2006
On 1/9/06, Shane Hathaway <shane at hathawaymix.org> wrote:
> I'd like to create a patch for the logging package, but before I do, I
> need to know whether someone else is working on the package and whether
> my patch is likely to be accepted. Is there another group I should talk to?
Vinay (copied) maintains it separately. He's the best person to talk
to AFAIK. He maintains compatability with older pythons, possibly
1.5, I don't recall. Check PEP 291.
> Specifically, I want to change the following:
There are several bugs (any maybe patches) on SF related to logging.
AFAIK, they are all assigned to Vinay. It would be great if you could
fix those as well.
n
--
> - The logging.config.fileConfig function has bare excepts that hide
> configuration errors. I'd like to remove the bare excepts and break up
> fileConfig for clarity.
>
> - I'd like to make it possible to configure the format of exception
> tracebacks. Some logs want compressed tracebacks like Medusa; others
> want extra information like Zope.
>
> - There is no support for external log rotation. There is plenty of
> support for Python rotating logs directly, but permission settings often
> make that impossible. Long-running Python processes need to accept a
> signal which notifies them when an external tool rotates the logs.
>
> - The logging documentation is lacking somewhat. For example, it fails
> to mention that the logging handlers are in the 'handlers' module, which
> I only learned by searching the source code.
>
> Shane
More information about the Python-Dev
mailing list