[mod_python] loglevel

Martin Stoufer MCStoufer at lbl.gov
Thu Nov 9 13:23:01 EST 2006


Julien,
    This is stored in the httpd.conf file for apache. Look for 
"LogLevel" and change it so it includes the 'error' level. You may also 
want to look at any specialized logging parameters for the Directory you 
are serving content from. For this look for the "LogFormat". Someone may 
have redirected error messages to another log file.



julien.coron at free.fr wrote:
> Hi,
>
> 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
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>   

-- 
* Martin C. Stoufer              *
* DST/DIDC/ITG                   *
* Lawrence Berkeley National Lab *
* MS 50B-2239 510-486-8662       *

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3423 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20061109/0d37f354/smime.bin


More information about the Mod_python mailing list