[mod_python] loglevel

julien.coron at free.fr julien.coron at free.fr
Thu Nov 9 08:33:26 EST 2006


I want to send some messages to the log file, but none under "error" are traced:

apache.log_error("This is an ERROR", apache.APLOG_ERR)
apache.log_error("This is an INFO", apache.APLOG_INFO)
apache.log_error("This is a DEBUG", apache.APLOG_DEBUG)

...even if I set the loglevel of apache to "debug".

Is there a way to set the loglevel of mod_python to "debug" and the apache one
to "error" ?

Julien CORON

More information about the Mod_python mailing list