Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9ab7d469
authored
May 11, 2017
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
入参打印优化
parent
7b3d53fa
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
xxl-job-core/src/main/java/com/xxl/job/core/thread/JobThread.java
xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml
xxl-job-executor-springboot-example/src/main/resources/applicationcontext-xxl-job.xml
xxl-job-core/src/main/java/com/xxl/job/core/thread/JobThread.java
View file @
9ab7d469
...
...
@@ -106,7 +106,7 @@ public class JobThread extends Thread{
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
)
{
...
...
xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml
View file @
9ab7d469
...
...
@@ -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>
...
...
xxl-job-executor-springboot-example/src/main/resources/applicationcontext-xxl-job.xml
View file @
9ab7d469
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment