Author: slaws
Date: Fri Aug 7 11:14:05 2009
New Revision: 801950
URL: http://svn.apache.org/viewvc?rev=801950&view=rev
Log:
Demarcate the logged arguments
Modified:
tuscany/branches/sca-java-1.x/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyInterceptor.java
Modified:
tuscany/branches/sca-java-1.x/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyInterceptor.java
URL:
http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyInterceptor.java?rev=801950&r1=801949&r2=801950&view=diff
==============================================================================
---
tuscany/branches/sca-java-1.x/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyInterceptor.java
(original)
+++
tuscany/branches/sca-java-1.x/modules/policy-logging/src/main/java/org/apache/tuscany/sca/policy/logging/jdk/JDKLoggingPolicyInterceptor.java
Fri Aug 7 11:14:05 2009
@@ -101,7 +101,7 @@
}
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 @@
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);
}
}
}