On Sun, 18 Feb 2001, Matt Sergeant wrote:
 
> While both work, they still suffer from all the extraneous info that
> 1.3+ logging outputs: "[Date] [leve]", or for info: "[Date] [level]
> [ip]". Rather annoying.

right.  the code that redirects stderr to the r->server->error_log lives
in mod_perl.c:

#ifndef PERL_TRACE
    if(r->server->error_log) 
        error_log2stderr(r->server);
#endif

i wonder if you have PERL_TRACE on?  or it isn't being called for some
reason, or being called to early before r->server points to the
virtualhost thats serving the request.
changing to this might shed some light:

    if(r->server->error_log) {
        fprintf(stderr, "hooking stderr to %s for host %s\n",
                r->server->error_fname, ap_get_server_name(r));
        error_log2stderr(r->server);
    }


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to