From 5364b724171b242510d2ccb5788b458d9c47f980 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Mon, 19 Aug 2019 15:34:29 +0200 Subject: Refactor: mv logger log --- src/main/java/at/gv/egiz/moazs/service/MzsService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/at/gv/egiz/moazs/service/MzsService.java b/src/main/java/at/gv/egiz/moazs/service/MzsService.java index 77027a9..8b5d697 100644 --- a/src/main/java/at/gv/egiz/moazs/service/MzsService.java +++ b/src/main/java/at/gv/egiz/moazs/service/MzsService.java @@ -29,7 +29,7 @@ import static java.util.concurrent.CompletableFuture.supplyAsync; @SchemaValidation(type = SchemaValidation.SchemaValidationType.BOTH) public class MzsService implements App2MzsPortType { - private static final Logger logger = LoggerFactory.getLogger(MzsService.class); + private static final Logger log = LoggerFactory.getLogger(MzsService.class); private static final String MZS_SERVICE_ERROR_MSG = "An error occurred while processing DeliveryRequest " + "with AppDeliveryID=%s."; @@ -91,7 +91,7 @@ public class MzsService implements App2MzsPortType { private DeliveryResponseType handleAssyncStatus(String appDeliveryID, DeliveryRequestType request, CompletableFuture requestProcessed) { - logger.info(format(SERVICE_TIME_OUT_REACHED_MSG, appDeliveryID)); + log.info(format(SERVICE_TIME_OUT_REACHED_MSG, appDeliveryID)); var sinkParams = request.getConfig().getMsgResponseSinks(); requestProcessed.thenAcceptAsync(response -> hub.applySinks(response, sinkParams)); -- cgit v1.2.3