From f6f105c7dee252477699889bd05e23023f9fa937 Mon Sep 17 00:00:00 2001 From: Mehakmeet Singh Date: Fri, 16 Jul 2021 16:17:05 +0530 Subject: [PATCH] HADOOP-17803. Remove WARN logging from LoggingAuditor when executing a request outside an audit span (#3207) Followup to HADOOP-17511. "Add audit/telemetry logging to S3A connector" Contributed by Mehakmeet Singh --- .../org/apache/hadoop/fs/s3a/audit/impl/LoggingAuditor.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/impl/LoggingAuditor.java b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/impl/LoggingAuditor.java index 1722df178e..da1f5b59bd 100644 --- a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/impl/LoggingAuditor.java +++ b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/impl/LoggingAuditor.java @@ -411,11 +411,8 @@ public T requestCreated( public T beforeExecution( final T request) { - String error = "executing a request outside an audit span " + analyzer.analyze(request); - LOG.warn("{} {}", - getSpanId(), error); final String unaudited = getSpanId() + " " + UNAUDITED_OPERATION + " " + error; if (isRequestNotAlwaysInSpan(request)) {