Nicolas Lehuen <[EMAIL PROTECTED]> writes: > One thing to remember : every piece of code we introduce into mod_python is > a liability. We'll have to support it and I can't wait for having to solve > setup problems of people asking the list "where are my log entries going ?" > or "my log entries are repeated multiple times in the Apache log". > > So, either we have a full treatment of all the problems this logging handler > may bring, or we just have this little Pandora box lying somewhere in the > contrib department, along with SQLiteSession :).
You might expect me to argue against this, so here goes: I think you're right - but this code is an exception. module logging is official Python API. Apache logging maps really easily onto official Python logging (yes - there are issues - but only the same issues as with any multi-programming). We could find all the things that could be done with logging. We could. But that would be a very big project in itself. Adding optional glue to connect Python logging to Apache logging is not complex. And I have already offered to maintain it. Search for me on Google if you fear I am some fly by night flibberty gibbet who will run away when the first question is asked. Nic