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
This commit is contained in:
parent
3faae2e06d
commit
cd15b0cb8a
|
@ -411,11 +411,8 @@ public class LoggingAuditor
|
|||
public <T extends AmazonWebServiceRequest> 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)) {
|
||||
|
|
Loading…
Reference in New Issue