I'm pretty sure we want $log here, as in all the other calls.
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 16 Oct 2007 03:58:05 +0000 (03:58 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 16 Oct 2007 03:58:05 +0000 (03:58 +0000)
Perhaps we can get rid of the $logger import in the header?

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1106 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/Application.pm

index 71e62a4..1632504 100644 (file)
@@ -98,7 +98,7 @@ sub handler {
         my @p = $app_msg->params;
                my $method_name = $app_msg->method;
                my $method_proto = $session->last_message_api_level;
-        $logger->info("CALL: $method_name [".join(', ',@p)."]");
+               $log->info("CALL: $method_name [".join(', ',@p)."]");
 
                my $coderef = $app->method_lookup( $method_name, $method_proto, 1, 1 );