httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: Error logging from modules (1.3b5)
Date Sun, 08 Mar 1998 19:10:17 GMT
Your LogLevel directive isn't set to something higher than error is it? 

That code should work.  The output should end up in s->error_log, which
should be the main server's errorlog.  Look for a configuration error. 

stderr is redirected to the error_log automatically after the first round
of configuration happens -- during the first round of config stderr is
left alone.  So you can run apache from the command prompt without
redirecting and (most) errors will appear on stderr. 

Module order is meaningless.


On Sun, 8 Mar 1998, Stefan Arentz wrote:

> I'm having problems with error logging in apache 1.3b5. My module (mod_tcl)
> is calling aplog_error() from it's initialization hook but nothing is
> logged, neither to the server's logfile or to stderr. I tried using NULL
> for the server_rec* parameter but that also had no effect.
> Here's some code that I tried:
> static void modtcl_Initialize(server_rec* s, pool* p)
> {
>       "Now entering modtcl_Initialize");
> }
> I have a couple of questions regarding this.
>  Should this code work?
>  Is stderr redirected in 1.3?
>  Does the order of the module matter? I mean, what if I put my module
>  at the top of the Configuration file. Does that matter?
> Greetings,
> Stefan

View raw message