diff --git a/src/main/java/it/cnr/isti/epasmed/config/AsyncConfiguration.java b/src/main/java/it/cnr/isti/epasmed/config/AsyncConfiguration.java index b7d84f9..8058dcf 100644 --- a/src/main/java/it/cnr/isti/epasmed/config/AsyncConfiguration.java +++ b/src/main/java/it/cnr/isti/epasmed/config/AsyncConfiguration.java @@ -20,7 +20,7 @@ import java.util.concurrent.Executor; @EnableScheduling public class AsyncConfiguration implements AsyncConfigurer { - private final Logger log = LoggerFactory.getLogger(AsyncConfiguration.class); + private final Logger logger = LoggerFactory.getLogger(AsyncConfiguration.class); private final TaskExecutionProperties taskExecutionProperties; @@ -31,7 +31,7 @@ public class AsyncConfiguration implements AsyncConfigurer { @Override @Bean(name = "taskExecutor") public Executor getAsyncExecutor() { - log.debug("Creating Async Task Executor"); + logger.debug("Creating Async Task Executor"); ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor(); executor.setCorePoolSize(taskExecutionProperties.getPool().getCoreSize()); executor.setMaxPoolSize(taskExecutionProperties.getPool().getMaxSize());