Log::Agent::Driver::Apache

Log::Agent::Driver::Apache module allows you to use mod_perl with standard logger.
Download

Log::Agent::Driver::Apache Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jamie Hoglund
  • Publisher web site:
  • http://search.cpan.org/~jmhoglund/Log-Agent-Driver-Apache-0.002/lib/Log/Agent/Driver/Apache.pm

Log::Agent::Driver::Apache Tags


Log::Agent::Driver::Apache Description

Log::Agent::Driver::Apache module allows you to use mod_perl with standard logger. Log::Agent::Driver::Apache module allows you to use mod_perl with standard logger.SYNOPSIS use Log::Agent; use Log::Agent::Driver::Apache; .. # Make the driver. my $driver = Log::Agent::Driver::Apache->make(); # Tell Log::Agent to use it. logconfig(-driver => $driver); # later on, in the vastness name-space, far far away.. logerr("Use the source, Luke");A Log::Agent::Driver module for Apache.Since Log::Agent is the standard way for modules to log output, or rather it's supposed to be, but Apache with mod_perl has different ideas about logging, this module attempts to translate Log::Agent calls over to Apache::Log.Part of a bigger project to port some older mod_perl stuff to the newer mod_perl 2.0, I thought CPAN might have a use for this.One of the advantages of this style is that you can use a different driver for Log::Agent for out-of-apache testing, use this driver while running under mod_perl. Any modules you may have that are not tied to mod_perl can continue to run in both environments. Later on, if your mod_perl application grows or you feel some need to switch to a syslog style logger, just use one of the other Log::Agent drivers. Requirements: · Perl


Log::Agent::Driver::Apache Related Software