This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push:
new 1bf6643af ORC-1592: Suppress `KeyProvider` missing log
1bf6643af is described below
commit 1bf6643afe77879f904db24fc61e73d9adb1aa37
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue Jan 16 18:43:26 2024 -0800
ORC-1592: Suppress `KeyProvider` missing log
### What changes were proposed in this pull request?
This PR aims to suppress `KeyProvider` missing log by lowering the log
level to DEBUG.
### Why are the changes needed?
To reduce the verbose log message in the normal usage.
### How was this patch tested?
Manual review.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #1757 from dongjoon-hyun/ORC-1592.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
java/shims/src/java/org/apache/orc/impl/HadoopShimsCurrent.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/shims/src/java/org/apache/orc/impl/HadoopShimsCurrent.java
b/java/shims/src/java/org/apache/orc/impl/HadoopShimsCurrent.java
index 335ff411b..c59d049bf 100644
--- a/java/shims/src/java/org/apache/orc/impl/HadoopShimsCurrent.java
+++ b/java/shims/src/java/org/apache/orc/impl/HadoopShimsCurrent.java
@@ -96,7 +96,7 @@ public class HadoopShimsCurrent implements HadoopShims {
List<org.apache.hadoop.crypto.key.KeyProvider> result =
KeyProviderFactory.getProviders(conf);
if (result.size() == 0) {
- LOG.info("Can't get KeyProvider for ORC encryption from" +
+ LOG.debug("Can't get KeyProvider for ORC encryption from" +
" hadoop.security.key.provider.path.");
return new NullKeyProvider();
} else {