Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ public Result run(JobContext jobContext) throws Throwable {
// 设置 BizLogger
LtsLoggerFactory.setLogger(BizLoggerFactory.getLogger(Level.INFO, null, null));
// 2. load context (Spring Context 或者其他的)

//bizlogger设置进jobContext
jobContext.setBizLogger(LtsLoggerFactory.getBizLogger());

initContext();
// 3. new jobRunner
JobRunner jobRunner = newJobRunner();
Expand Down