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
d0ee065cc4
commit
f6f105c7de
@ -411,11 +411,8 @@ public <T extends AmazonWebServiceRequest> T requestCreated(
|
||||
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
Block a user