On Sun, 6 May 2007 21:14:39 +0200 Sander Temme <[EMAIL PROTECTED]> wrote:
> > On May 5, 2007, at 11:42 AM, Joachim Zobel wrote: > > > ap_log_perror(APLOG_MARK, APLOG_DEBUG, 0, p_cur, > > "xml2_free will free %x.", mem); > > Stupid question: is your LogLevel set to debug? Won't help. > In any case, the stderr fd gets switched to the error log file, so > any printf() and related to stderr will land there, too. > > OH. Here's your problem: see the server/log.c:444 (in trunk): if > there is no server context, nothing gets logged for any LogLevel > below notice. Not sure about the rationale, except perhaps we > didn't want to clutter up the terminal too much when the server > starts. I assumed the rationale is that LogLevel only exists in a server context. That's why mod_diagnostics uses APLOG_NOTICE, and why mod_dumpio prints nothing at all in its default configuration. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/
