[mod_python] apache log_error

Gregory (Grisha) Trubetskoy grisha at modpython.org
Mon Jan 19 00:13:13 EST 2004

Are you using apache.log_error, or req.log_error? Note that the former may
send its output to the bitbucket if you don't specify a server argument -
I'm pretty sure it's mentioned in the docs.

The rule of thumb is - always use req.log_error, use apache.log_error only
when you have no choice.


On Sat, 17 Jan 2004, Oliver Mellet wrote:

> In using the log_error function, I'm not seeing any messages from
> python in the apache log when I use apache.APLOG_DEBUG or
> apache.APLOG_NOTICE.  All other warning levels higher than that seem to
> make it into the output ok.  (I see other debug messages from apache,
> and my LogLevel is set to debug, and PythonDebug is On).  Can anyone
> else confirm this?
> This is on Mac OS X / Apache 2.0.48 / mod_python 3.1.2b
> Thanks,
> Oliver
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

More information about the Mod_python mailing list