This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
The following commit(s) were added to refs/heads/master by this push:
new 5f9c419b62 Change some logging statements from warn to debug in the
new enableJSONOnly=true related code
5f9c419b62 is described below
commit 5f9c419b62ac608fb5c9a322870ebce5916d0c6c
Author: Robert Lazarski <[email protected]>
AuthorDate: Thu Aug 1 08:59:31 2024 -1000
Change some logging statements from warn to debug in the new
enableJSONOnly=true related code
---
modules/kernel/src/org/apache/axis2/deployment/util/Utils.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
b/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
index fac2f5fb6d..0bc1ae9e89 100644
--- a/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
+++ b/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
@@ -406,7 +406,7 @@ public class Utils {
}
String enableJSONOnly = (String)
axisConfig.getParameterValue("enableJSONOnly");
if (enableJSONOnly !=null && enableJSONOnly.equalsIgnoreCase("true")) {
- log.warn("on enableJSONOnly: " +enableJSONOnly+ " starting
fillAxisService(), serviceClass.name: " + serviceClass.getName());
+ log.debug("on enableJSONOnly: " +enableJSONOnly+ " starting
fillAxisService(), serviceClass.name: " + serviceClass.getName());
List<Method> serviceMethods = new ArrayList<Method>();
Map<String, Method> uniqueMethods = new LinkedHashMap<String,
Method>();
for (Method method : serviceClass.getMethods()) {
@@ -426,7 +426,7 @@ public class Utils {
if (axisOperation == null) {
axisOperation = getAxisOperationForJmethod(method);
axisService.addOperation(axisOperation);
- log.warn("on methodName: " +methodName+ " ,
enableJSONOnly: " +enableJSONOnly+ " , axisOperation added to service: "
+axisService.getName());
+ log.debug("on methodName: " +methodName+ " ,
enableJSONOnly: " +enableJSONOnly+ " , axisOperation added to service: "
+axisService.getName());
}
// by now axis operation should be assigned but we better
recheck & add the paramether
if (axisOperation != null) {
@@ -471,7 +471,7 @@ public class Utils {
axisService.addOperation(operation);
axisService.addJSONMessageNameToOperationMapping(opName,
operation);
}
- log.warn("fillAxisService() completed on enableJSONOnly=true ,
axisService name: " + axisService.getName());
+ log.debug("fillAxisService() completed on enableJSONOnly=true ,
axisService name: " + axisService.getName());
return;
}