[improve] Correct some log in scheduler (#12278)

This commit is contained in:
fuchanghai 2022-10-10 09:42:57 +08:00 committed by GitHub
parent 9b1ee1516f
commit dec28b5c2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ public class ProcessScheduleTask extends QuartzJobBean {
Date fireTime = context.getFireTime();
logger.info("scheduled fire time :{}, fire time :{}, process id :{}", scheduledFireTime, fireTime, scheduleId);
logger.info("scheduled fire time :{}, fire time :{}, scheduleId :{}", scheduledFireTime, fireTime, scheduleId);
// query schedule
Schedule schedule = processService.querySchedule(scheduleId);
@ -75,7 +75,7 @@ public class ProcessScheduleTask extends QuartzJobBean {
// release state : online/offline
ReleaseState releaseState = processDefinition.getReleaseState();
if (releaseState == ReleaseState.OFFLINE) {
logger.warn("process definition does not exist in db or offlineneed not to create command, projectId:{}, processId:{}", projectId, processDefinition.getId());
logger.warn("process definition does not exist in db or offlineneed not to create command, projectId:{}, processDefinitionId:{}", projectId, processDefinition.getId());
return;
}