From cc92c6d8c03ea26ca82e84bc4b208c5042eec93c Mon Sep 17 00:00:00 2001 From: Ashutosh Date: Fri, 29 May 2020 12:39:31 +0530 Subject: [PATCH] Logger factory changes --- .../uk/ac/ebi/ega/egacryptor/cryptography/pgp/PGPUtils.java | 2 +- .../ega/egacryptor/runner/EgaCryptorCommandLinerRunner.java | 4 ++-- .../uk/ac/ebi/ega/egacryptor/service/TaskExecutorService.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/uk/ac/ebi/ega/egacryptor/cryptography/pgp/PGPUtils.java b/src/main/java/uk/ac/ebi/ega/egacryptor/cryptography/pgp/PGPUtils.java index 18849ad..c5c16b8 100644 --- a/src/main/java/uk/ac/ebi/ega/egacryptor/cryptography/pgp/PGPUtils.java +++ b/src/main/java/uk/ac/ebi/ega/egacryptor/cryptography/pgp/PGPUtils.java @@ -43,7 +43,7 @@ public class PGPUtils { - private static final Logger LOGGER = LoggerFactory.getLogger(PGPCryptography.class); + private static final Logger LOGGER = LoggerFactory.getLogger(PGPUtils.class); private static final int KEY_FLAGS = 27; private static final List MASTER_KEY_CERTIFICATION_TYPES = Arrays.asList(PGPSignature.POSITIVE_CERTIFICATION, diff --git a/src/main/java/uk/ac/ebi/ega/egacryptor/runner/EgaCryptorCommandLinerRunner.java b/src/main/java/uk/ac/ebi/ega/egacryptor/runner/EgaCryptorCommandLinerRunner.java index 36e45e5..0ac373a 100644 --- a/src/main/java/uk/ac/ebi/ega/egacryptor/runner/EgaCryptorCommandLinerRunner.java +++ b/src/main/java/uk/ac/ebi/ega/egacryptor/runner/EgaCryptorCommandLinerRunner.java @@ -41,7 +41,7 @@ public class EgaCryptorCommandLinerRunner implements CommandLineRunner { - private static final Logger LOGGER = LoggerFactory.getLogger(PGPCryptography.class); + private static final Logger LOGGER = LoggerFactory.getLogger(EgaCryptorCommandLinerRunner.class); private final ITaskExecutorService taskExecutorService; private final IFileDiscoveryService fileDiscoveryService; @@ -116,4 +116,4 @@ public int getValue() { return value; } } -} \ No newline at end of file +} diff --git a/src/main/java/uk/ac/ebi/ega/egacryptor/service/TaskExecutorService.java b/src/main/java/uk/ac/ebi/ega/egacryptor/service/TaskExecutorService.java index 031100c..b284699 100644 --- a/src/main/java/uk/ac/ebi/ega/egacryptor/service/TaskExecutorService.java +++ b/src/main/java/uk/ac/ebi/ega/egacryptor/service/TaskExecutorService.java @@ -30,7 +30,7 @@ import java.util.stream.Collectors; public class TaskExecutorService implements ITaskExecutorService { - private static final Logger LOGGER = LoggerFactory.getLogger(FileDiscoveryService.class); + private static final Logger LOGGER = LoggerFactory.getLogger(TaskExecutorService.class); private final CryptographyPipeline cryptographyPipeline; public TaskExecutorService(final CryptographyPipeline cryptographyPipeline) {