Задать вопрос

Тел: +7 965 3737 888

530

Просмотров

2

Ответов

Logging solution for mod_python/FCGI

The solution is based on dballanc's snippet.

Can easily be combined with any of the SQL tracing solutions.

You might want to run a separate logging server and redirect your logs there. Please refer to the logging reference manual.

Вопрос полезен? Да0/Нет0
file_4040.py(1.3Кб)
None

Ответы (2):

Ответpdxwebdev:21.02.2011
Ответ полезен? Да0/Нет0

This saved me loads of time from having to concentrate while stepping though a deeply recursive method. I was able to easily see that I forgot to import the time module. ha!

Ответstefan:25.09.2007
Ответ полезен? Да0/Нет0

request.started does not seem to exist in django, maybe it did sometime? That makes the middleware not very useful. Otherwise, good to know about the logging module