diff --git a/src/main/src/org/bdware/server/action/ActionExecutor.java b/src/main/src/org/bdware/server/action/ActionExecutor.java index cb47519..a5155a2 100644 --- a/src/main/src/org/bdware/server/action/ActionExecutor.java +++ b/src/main/src/org/bdware/server/action/ActionExecutor.java @@ -2,6 +2,7 @@ package org.bdware.server.action; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; +import org.bdware.sc.util.JsonUtil; import java.io.FileNotFoundException; import java.io.RandomAccessFile; @@ -77,7 +78,6 @@ public class ActionExecutor { return; } Method[] methods = obj.getClass().getDeclaredMethods(); - LOGGER.debug("zzz2" + obj.getClass()); for (Method method : methods) { if (null != method.getAnnotation(Action.class)) { if (method.getAnnotation(Action.class).alias().length == 0) { @@ -116,7 +116,7 @@ public class ActionExecutor { public void handle(String action, final U args, final T callback) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException { - // logger.info("[ActionExecutor] handle : "+action); + LOGGER.info("[ActionExecutor] handle : " + action + " ->" + JsonUtil.toJson(args)); if (null != action) { if (staticData.containsKey(action)) {