my %trace = (
-#    'a' => 'all',
+    'a' => 'Apache API interaction',


Ah, sorry, I forgot that 'a' is taken by 'all'. I can't think of another good choice. In which case how about 'p' for aPache?

actually, I thought all was 'a' too, but it doesn't look that way. if I do a preamble 'PerlTrace a' I don't get anything, and MP_TRACE_a only exists in 1 place (below). 'all' is mapped to MP_debug_level 0xffffffff


-    MP_TRACE_a_do(MP_TRACE_dump_flags());
+    MP_TRACE_any_do(MP_TRACE_dump_flags());


So, did you change s/all/any/?

this is the only occurence.


I think MP_TRACE_a (and the above variant) designates tracing that should happen as long as there is _some_ (or 'any' :) trace enabled. the autogenerated code (current) looks like this

#define MP_TRACE_OPTS "cdefghimost"

#define MP_TRACE_a if (MP_debug_level) modperl_trace

#define MP_TRACE_c if (MP_debug_level & 1) modperl_trace

so, I took over 'a' and changed the only _a to _any. I think it's a bit better this way but if you want to use 'p' instead, that's fine. it's no biggie.

--Geoff


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



Reply via email to