[mod_python] apache log_error

Oliver Mellet oliver at mellet.net
Sun Jan 18 22:06:52 EST 2004


That seems to have done the trick, thanks.   And you're right about the 
server param, according to the docs:
"When server is not specified, the setting of LogLevel does not apply, 
the LogLevel is dictated by an httpd compile-time default, usually 
warn."
RTFM for me, as usual.

On Jan 18, 2004, at 9:13 PM, Gregory (Grisha) Trubetskoy wrote:

>
> 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.
>
> Grisha
>
> 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