From ada286bde0054ee1119805f7d8e8ac80cb86c5d7 Mon Sep 17 00:00:00 2001 From: Usman Saleem Date: Tue, 29 Aug 2023 23:34:12 +1000 Subject: [PATCH] Remove password file path from logs --- .../web3signer/signing/bulkloading/SecpWalletBulkloader.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/signing/src/main/java/tech/pegasys/web3signer/signing/bulkloading/SecpWalletBulkloader.java b/signing/src/main/java/tech/pegasys/web3signer/signing/bulkloading/SecpWalletBulkloader.java index afff0df2b..824768f5e 100644 --- a/signing/src/main/java/tech/pegasys/web3signer/signing/bulkloading/SecpWalletBulkloader.java +++ b/signing/src/main/java/tech/pegasys/web3signer/signing/bulkloading/SecpWalletBulkloader.java @@ -37,7 +37,7 @@ public class SecpWalletBulkloader { public static MappedResults loadWalletsUsingPasswordFileOrDir( final Path walletsDirectory, final Path passwordsFileOrDirectory) { if (!Files.exists(passwordsFileOrDirectory)) { - LOG.error("Password file or directory doesn't exist. {}", passwordsFileOrDirectory); + LOG.error("Password file or directory doesn't exist."); return MappedResults.errorResult(); } @@ -62,8 +62,7 @@ public static MappedResults loadWalletsUsingPasswordFileOrDir( return MappedResults.errorResult(); } } else { - LOG.error( - "Expecting either regular password file or a directory. {}", passwordsFileOrDirectory); + LOG.error("Unexpected password file or directory."); return MappedResults.errorResult(); }