Author: jhorwitz
Date: Sat Mar 7 08:49:14 2009
New Revision: 624
Modified:
mod_parrot/trunk/src/mod_parrot.c
Log:
send trace and error output through proper server
Modified: mod_parrot/trunk/src/mod_parrot.c
==============================================================================
--- mod_parrot/trunk/src/mod_parrot.c (original)
+++ mod_parrot/trunk/src/mod_parrot.c Sat Mar 7 08:49:14 2009
@@ -929,7 +929,7 @@
vscfg = ap_get_module_config(vs->module_config, &parrot_module);
if (!(vscfg->option_flags & MP_OPT_ENABLE)) continue;
- MP_TRACE_h(s, "in modparrot_meta_open_logs_handler (s=%p)", vs);
+ MP_TRACE_h(vs, "in modparrot_meta_open_logs_handler (s=%p)", vs);
/* we duplicate some efforts here because we only find out about
* named context pools configured from an HLL when we're already in
@@ -972,10 +972,10 @@
minfo = (modparrot_module_info *)modp->dynamic_load_handle;
/* call meta handler */
- MP_TRACE_h(s, "calling open_logs_handler for %s", minfo->namespace);
+ MP_TRACE_h(vs, "calling open_logs_handler for %s", minfo->namespace);
if (!modparrot_call_meta_handler(ctxp->interp, minfo->namespace,
"open_logs_handler", &status)) {
- MPLOG_ERRORF(s, "no open_logs metahandler found for module '%s'",
+ MPLOG_ERRORF(vs, "no open_logs metahandler found for module '%s'",
modp->name);
status = HTTP_INTERNAL_SERVER_ERROR;
}