From: Pawel Wieczorek
Date: Wed, 10 Apr 2019 17:13:43 +0000 (+0200)
Subject: Use all available information in audit log output
X-Git-Tag: 3.2.0~326
X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=b04f71de6f585687eb81333ab1fd909df0d8b71f;p=portal.git
Use all available information in audit log output
Comment is now also appended to the audit log.
Issue-ID: PORTAL-553
Change-Id: Ia30d6f61b04131d4456dfc55575b1f7678e26967
Signed-off-by: Pawel Wieczorek
---
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AuditLogController.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AuditLogController.java
index 34090d6b..67d75666 100644
--- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AuditLogController.java
+++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AuditLogController.java
@@ -88,7 +88,7 @@ public class AuditLogController extends EPRestrictedBaseController {
@RequestMapping(value = "/store", method = RequestMethod.GET, produces = "application/json")
public void auditLog(HttpServletRequest request, @RequestParam String affectedAppId, @RequestParam String type,
@RequestParam String comment) {
- logger.debug(EELFLoggerDelegate.debugLogger, "auditLog: appId {}, type {], comment {}", affectedAppId, type,
+ logger.debug(EELFLoggerDelegate.debugLogger, "auditLog: appId {}, type {}, comment {}", affectedAppId, type,
comment);
String cd_type = null;
try {