From 4fc48695ab1f0671a515323a69f7c0f97e3414de Mon Sep 17 00:00:00 2001 From: slaws Date: Fri, 7 Aug 2009 11:14:05 +0000 Subject: Demarcate the logged arguments git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@801950 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/policy/logging/jdk/JDKLoggingPolicyInterceptor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'branches/sca-java-1.x/modules') diff --git a/branches/sca-java-1.x/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyInterceptor.java b/branches/sca-java-1.x/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyInterceptor.java index 58a6d21ee7..3f1b15075f 100644 --- a/branches/sca-java-1.x/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyInterceptor.java +++ b/branches/sca-java-1.x/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyInterceptor.java @@ -101,7 +101,7 @@ public class JDKLoggingPolicyInterceptor implements Interceptor { } Object[] logParams = new Object[] {operation.getName(), sb.toString()}; - logger.logp(Level.FINER, context, "", "Invoking operation {0} with arguments {1}", logParams); + logger.logp(Level.FINER, context, "", "Invoking operation {0} with arguments ({1})", logParams); } Message responseMsg = null; @@ -115,7 +115,7 @@ public class JDKLoggingPolicyInterceptor implements Interceptor { if (responseMsg != null) { Object[] logParams = new Object[] {operation.getName(), responseMsg.getBody()}; logger.logp(Level.INFO, context, "", "Returned from operation - " + operation.getName()); - logger.logp(Level.FINER, context, "", "Returning from operation {0} with return value {1}", logParams); + logger.logp(Level.FINER, context, "", "Returning from operation {0} with return value ({1})", logParams); } } } -- cgit v1.2.3