use OpenSRF::AppSession;
use OpenSRF::DomainObject::oilsMethod;
use OpenSRF::DomainObject::oilsResponse qw/:status/;
-use OpenSRF::Utils::Logger qw/:level/;
+use OpenSRF::Utils::Logger qw/:level $logger/;
use Data::Dumper;
use Time::HiRes qw/time/;
use OpenSRF::EX qw/:try/;
if ($session->last_message_type eq 'REQUEST') {
+ 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)."]");
my $coderef = $app->method_lookup( $method_name, $method_proto, 1, 1 );