From ad872d422f5447c5b93f39ff8e36f87f8bcc9d45 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Mon, 31 Jan 2022 15:02:17 +0100 Subject: [PATCH] Minor Update --- .../java/it/cnr/isti/epasmed/config/AsyncConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());