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 class LoggingAuditor
|
||||||
public <T extends AmazonWebServiceRequest> T beforeExecution(
|
public <T extends AmazonWebServiceRequest> T beforeExecution(
|
||||||
final T request) {
|
final T request) {
|
||||||
|
|
||||||
|
|
||||||
String error = "executing a request outside an audit span "
|
String error = "executing a request outside an audit span "
|
||||||
+ analyzer.analyze(request);
|
+ analyzer.analyze(request);
|
||||||
LOG.warn("{} {}",
|
|
||||||
getSpanId(), error);
|
|
||||||
final String unaudited = getSpanId() + " "
|
final String unaudited = getSpanId() + " "
|
||||||
+ UNAUDITED_OPERATION + " " + error;
|
+ UNAUDITED_OPERATION + " " + error;
|
||||||
if (isRequestNotAlwaysInSpan(request)) {
|
if (isRequestNotAlwaysInSpan(request)) {
|
||||||
|
|
Loading…
Reference in New Issue