aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-11-27 09:37:01 +0100
committerFiete Ostkamp <fiete.ostkamp@telekom.de>2024-11-27 08:39:12 +0000
commit23ba5bc005ae437aedb2e0d419971edea7294252 (patch)
tree67b19269c375dda8414a0d21aa94ca1ccda1cc04
parent67f01b2c8d785fecfbc1a3f42abf756ef6a673c2 (diff)
Reduce log noise caused by AbstractAuditLogFilter
- reduce number of log lines that are written on each request Issue-ID: AAI-4072 Change-Id: I7582a36fe32bc64c14a5f565c52895b11cee7364 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
-rw-r--r--aai-els-onap-logging/src/main/java/org/onap/logging/filter/base/AbstractAuditLogFilter.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/aai-els-onap-logging/src/main/java/org/onap/logging/filter/base/AbstractAuditLogFilter.java b/aai-els-onap-logging/src/main/java/org/onap/logging/filter/base/AbstractAuditLogFilter.java
index 222b98c2..b99c8d80 100644
--- a/aai-els-onap-logging/src/main/java/org/onap/logging/filter/base/AbstractAuditLogFilter.java
+++ b/aai-els-onap-logging/src/main/java/org/onap/logging/filter/base/AbstractAuditLogFilter.java
@@ -7,9 +7,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -45,7 +45,6 @@ public abstract class AbstractAuditLogFilter<GenericRequest, GenericResponse> ex
additionalPreHandling(request);
setLogTimestamp();
setElapsedTime();
- logger.info(ONAPLogConstants.Markers.ENTRY, "Entering");
} catch (Exception e) {
logger.warn("Error in AbstractInboundFilter pre", e);
}
@@ -59,7 +58,6 @@ public abstract class AbstractAuditLogFilter<GenericRequest, GenericResponse> ex
setResponseDescription(responseCode);
setLogTimestamp();
setElapsedTime();
- logger.info(ONAPLogConstants.Markers.EXIT, "Exiting.");
additionalPostHandling(response);
} catch (Exception e) {
logger.warn("Error in AbstractInboundFilter post", e);