summaryrefslogtreecommitdiffstats
path: root/branches
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-08-07 11:14:05 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-08-07 11:14:05 +0000
commit4fc48695ab1f0671a515323a69f7c0f97e3414de (patch)
treed0f8c9e30e2a195be404c38025ccc96848b1c53f /branches
parentd0657b465608325f1692b43293813f7e07cbaaac (diff)
Demarcate the logged arguments
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@801950 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches')
-rw-r--r--branches/sca-java-1.x/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyInterceptor.java4
1 files changed, 2 insertions, 2 deletions
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);
}
}
}