[mod_python] loglevel

julien.coron at free.fr julien.coron at free.fr
Fri Nov 10 08:18:33 EST 2006


Hi Martin,

Allright for the loglevel, but is there a way to set the loglevel of apache to
"error" and the loglevel of mod_python to "info" ?




Selon Martin Stoufer <MCStoufer at lbl.gov>:

> 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       *
>
>




More information about the Mod_python mailing list