From 23ba5bc005ae437aedb2e0d419971edea7294252 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 27 Nov 2024 09:37:01 +0100 Subject: 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 --- .../java/org/onap/logging/filter/base/AbstractAuditLogFilter.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'aai-els-onap-logging') 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 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 ex setResponseDescription(responseCode); setLogTimestamp(); setElapsedTime(); - logger.info(ONAPLogConstants.Markers.EXIT, "Exiting."); additionalPostHandling(response); } catch (Exception e) { logger.warn("Error in AbstractInboundFilter post", e); -- cgit 1.2.3-korg