Skip to content

Commit 1efce77

Browse files
authored
sanatise trace logging of async jobs (#8892)
1 parent a358c9a commit 1efce77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

framework/jobs/src/main/java/org/apache/cloudstack/framework/jobs/impl/AsyncJobManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ protected void runInContext() {
644644
} else {
645645
// TODO, job wakeup is not in use yet
646646
if (logger.isTraceEnabled())
647-
logger.trace("Unable to find a wakeup dispatcher from the joined job: " + job);
647+
logger.trace("Unable to find a wakeup dispatcher from the joined job: {}", () -> StringUtils.cleanString(job.toString()));
648648
}
649649
} else {
650650
AsyncJobDispatcher jobDispatcher = getDispatcher(job.getDispatcher());

0 commit comments

Comments
 (0)