Use all available information in audit log output 12/84912/2
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 10 Apr 2019 17:13:43 +0000 (19:13 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 24 Apr 2019 12:09:59 +0000 (14:09 +0200)
Comment is now also appended to the audit log.

Issue-ID: PORTAL-553
Change-Id: Ia30d6f61b04131d4456dfc55575b1f7678e26967
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AuditLogController.java

index 34090d6..67d7566 100644 (file)
@@ -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 {