Skip to content

Commit

Permalink
入参打印优化
Browse files Browse the repository at this point in the history
  • Loading branch information
xueli.xue committed May 11, 2017
1 parent 7b3d53f commit 9ab7d46
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void run() {
String logFileName = XxlJobFileAppender.makeLogFileName(new Date(triggerParam.getLogDateTim()), triggerParam.getLogId());

XxlJobFileAppender.contextHolder.set(logFileName);
XxlJobLogger.log("<br>----------- xxl-job job execute start -----------<br>----------- Params:" + handlerParams);
XxlJobLogger.log("<br>----------- xxl-job job execute start -----------<br>----------- Params:" + Arrays.toString(handlerParams));

executeResult = handler.execute(handlerParams);
if (executeResult == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<bean id="xxlJobExecutor" class="com.xxl.job.core.executor.XxlJobExecutor" init-method="start" destroy-method="destroy" >
<!-- 执行器IP[选填],为空则自动获取 -->
<property name="ip" value="${xxl.job.executor.ip}" />
<!-- 执行器端口号 -->
<!-- 执行器端口号[必须] -->
<property name="port" value="${xxl.job.executor.port}" />
<!-- 执行器AppName,为空则关闭自动注册 -->
<!-- 执行器AppName[选填],为空则关闭自动注册 -->
<property name="appName" value="${xxl.job.executor.appname}" />
<!-- 执行器注册中心地址,为空则关闭自动注册 -->
<!-- 执行器注册中心地址[选填],为空则关闭自动注册 -->
<property name="adminAddresses" value="${xxl.job.admin.addresses}" />
<!-- 执行器日志路径 -->
<!-- 执行器日志路径[必填] -->
<property name="logPath" value="${xxl.job.executor.logpath}" />
</bean>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<bean id="xxlJobExecutor" class="com.xxl.job.core.executor.XxlJobExecutor" init-method="start" destroy-method="destroy" >
<!-- 执行器IP[选填],为空则自动获取 -->
<property name="ip" value="${xxl.job.executor.ip}" />
<!-- 执行器端口号 -->
<!-- 执行器端口号[必须] -->
<property name="port" value="${xxl.job.executor.port}" />
<!-- 执行器AppName,为空则关闭自动注册 -->
<!-- 执行器AppName[选填],为空则关闭自动注册 -->
<property name="appName" value="${xxl.job.executor.appname}" />
<!-- 执行器注册中心地址,为空则关闭自动注册 -->
<!-- 执行器注册中心地址[选填],为空则关闭自动注册 -->
<property name="adminAddresses" value="${xxl.job.admin.addresses}" />
<!-- 执行器日志路径 -->
<!-- 执行器日志路径[必填] -->
<property name="logPath" value="${xxl.job.executor.logpath}" />
</bean>

Expand Down

0 comments on commit 9ab7d46

Please sign in to comment.