i've just completed a couple logging convenience modules. the first: http://search.cpan.org/~dorian/Apache-DebugLog-0.01/
allows for two dimensional (i.e. category, verbosity) debug logging on top of the normal debug log. the second: http://search.cpan.org/~dorian/Apache-LogF-0.01/ simply adds printf-like convenience methods to Apache::Log. Apache::DebugLog uses two custom configuration directives, PerlDebugLogLevel and PerlDebugLogDomain. mod_perl 1.x is automatically detected and the xs required to enable these directives is generated. i have not tested this yet. apache 1.x folk are welcome to try to break this for me. cheers. .dorian