dmekhanikov commented on a change in pull request #8283:
URL: https://github.com/apache/ignite/pull/8283#discussion_r532527578
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/job/GridJobWorker.java
##########
@@ -484,7 +483,8 @@ boolean initialize(GridDeployment dep, Class<?> taskCls) {
job = SecurityUtils.sandboxedProxy(ctx, ComputeJob.class, job);
}
catch (IgniteCheckedException e) {
- U.error(log, "Failed to initialize job [jobId=" + ses.getJobId() +
", ses=" + ses + ']', e);
+ if (log.isDebugEnabled())
+ U.error(log, "Failed to initialize job [jobId=" +
ses.getJobId() + ", ses=" + ses + ']', e);
Review comment:
There is no implementation of `log.debug` that accepts exceptions. Is
there a good way to print stacktraces to log in debug level?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]