Hi - not sure if this is a mod_perl or RT problem: I have several namevirtualhosts on apache 2 with mod_perl 2, and while each has an errorlog directive and writes in it as expected, the RT messages, and only those, go to the main server error_log file. Reading through Apache2::Log it seems I should include PerlOptions +GlobalRequest in httpd.conf and override warn() with use Apache2::ServerRec qw(warn) - which I did, at the beginning of webmux.pl Still, any warn() goes to the mail error_log, while Apache errors - those not handled by RT::Mason - go to the virtualhost file.
Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com