ProgressLogger currentTask = progressLoggerFactory.newOperation(TaskExecutionLogger.class, parentLoggerPovider.getLogger());
String displayName = getDisplayName(task);
currentTask.setDescription(String.format("Execute %s", displayName));
currentTask.setShortDescription(displayName);
currentTask.setLoggingHeader(displayName);
currentTask.started();
currentTasks.put(task, currentTask);
}
public void afterExecute(Task task, TaskState state) {
ProgressLogger currentTask = currentTasks.remove(task);