From e29cc0a650b12becaac2bdc41bd3ead1ab7a8a40 Mon Sep 17 00:00:00 2001
From: erickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Date: Mon, 13 Feb 2006 21:42:32 +0000
Subject: [PATCH] Moved some log messages from INFO to DEBUG level because of
 their repetitive volume in the logs

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@639 9efc2488-bf62-4759-914b-345cdb29e865
---
 src/perlmods/OpenSRF/Application.pm              | 2 +-
 src/perlmods/OpenSRF/DomainObject/oilsMessage.pm | 6 ++----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/perlmods/OpenSRF/Application.pm b/src/perlmods/OpenSRF/Application.pm
index 0e2a1cd..922ed52 100644
--- a/src/perlmods/OpenSRF/Application.pm
+++ b/src/perlmods/OpenSRF/Application.pm
@@ -181,7 +181,7 @@ sub handler {
 				warn "Done running...\n";
 				my $time = sprintf '%.3f', time() - $start;
 
-				$log->debug( "Method duration for {$method_name}:  ". $time, INFO );
+				$log->debug( "Method duration for {$method_name}:  ". $time );
 				if( defined( $resp ) ) {
 					$appreq->respond_complete( $resp );
 				} else {
diff --git a/src/perlmods/OpenSRF/DomainObject/oilsMessage.pm b/src/perlmods/OpenSRF/DomainObject/oilsMessage.pm
index 2ccf120..09c0126 100644
--- a/src/perlmods/OpenSRF/DomainObject/oilsMessage.pm
+++ b/src/perlmods/OpenSRF/DomainObject/oilsMessage.pm
@@ -171,7 +171,7 @@ sub handler {
 	$session->last_threadTrace($tT);
 
 	$log->debug(" Received api_level => [$api_level], MType => [$mtype], ".
-			"from [".$session->remote_id."], threadTrace[".$self->threadTrace."]", INFO);
+			"from [".$session->remote_id."], threadTrace[".$self->threadTrace."]");
 	$log->debug("endpoint => [".$session->endpoint."]", DEBUG);
 	$log->debug("OpenSRF::AppSession->SERVER => [".$session->SERVER()."]", DEBUG);
 
@@ -245,8 +245,6 @@ sub do_server {
 	}
 
 
-	$log->debug("Passing to Application::handler()", INFO);
-
 	return 1;
 
 }
@@ -263,7 +261,7 @@ sub do_client {
 
 		if ($self->payload->statusCode == STATUS_OK) {
 			$session->state($session->CONNECTED);
-			$log->debug("We connected successfully to ".$session->app, INFO);
+			$log->debug("We connected successfully to ".$session->app);
 			return 0;
 		}
 
-- 
2.11.0