in reply to log4perl and apache

I'm not quite sure what you're after here. There is a complete mod_perl logging API and log4perl works fine with mod_perl. Anything beyond that would be specific to your application.