diff --git a/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/InvoiceEventsDaoImpl.java b/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/InvoiceEventsDaoImpl.java index 3801f20..6792488 100644 --- a/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/InvoiceEventsDaoImpl.java +++ b/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/InvoiceEventsDaoImpl.java @@ -56,7 +56,7 @@ public Future> save(InvoiceAuditEvent event, String tenantId) { String logTable = formatDBTableName(tenantId, TABLE_NAME); String query = format(INSERT_SQL, logTable); return makeSaveCall(query, event, tenantId) - .onSuccess(rows -> LOGGER.info("save:: Saved Invoice AuditEvent with tenant id : {}", tenantId)) + .onSuccess(rows -> LOGGER.info("save:: Saved Invoice AuditEvent with invoice id : {}", event.getInvoiceId())) .onFailure(e -> LOGGER.error("Failed to save record with id: {} for invoice id: {} in to table {}", event.getId(), event.getInvoiceId(), TABLE_NAME, e)); } diff --git a/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/InvoiceLineEventsDaoImpl.java b/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/InvoiceLineEventsDaoImpl.java index 7cfc1ad..73a43a3 100644 --- a/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/InvoiceLineEventsDaoImpl.java +++ b/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/InvoiceLineEventsDaoImpl.java @@ -58,7 +58,7 @@ public Future> save(InvoiceLineAuditEvent event, String tenantId) { String logTable = formatDBTableName(tenantId, TABLE_NAME); String query = format(INSERT_SQL, logTable); return makeSaveCall(query, event, tenantId) - .onSuccess(rows -> LOGGER.info("save:: Saved InvoiceLine AuditEvent with tenant id : {}", tenantId)) + .onSuccess(rows -> LOGGER.info("save:: Saved InvoiceLine AuditEvent with invoice line id : {}", event.getInvoiceLineId())) .onFailure(e -> LOGGER.error("Failed to save record with id: {} for invoice line id: {} in to table {}", event.getId(), event.getInvoiceLineId(), TABLE_NAME, e)); } diff --git a/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/OrderEventsDaoImpl.java b/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/OrderEventsDaoImpl.java index cab0a0e..c3c844a 100644 --- a/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/OrderEventsDaoImpl.java +++ b/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/OrderEventsDaoImpl.java @@ -58,7 +58,7 @@ public Future> save(OrderAuditEvent event, String tenantId) { String logTable = formatDBTableName(tenantId, TABLE_NAME); String query = format(INSERT_SQL, logTable); makeSaveCall(promise, query, event, tenantId); - LOGGER.info("save:: Saved Order AuditEvent with tenant id : {}", tenantId); + LOGGER.info("save:: Saved Order AuditEvent with order id : {}", event.getOrderId()); return promise.future(); } diff --git a/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/OrderLineEventsDaoImpl.java b/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/OrderLineEventsDaoImpl.java index bfe2321..77c61fb 100644 --- a/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/OrderLineEventsDaoImpl.java +++ b/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/OrderLineEventsDaoImpl.java @@ -60,7 +60,7 @@ public Future> save(OrderLineAuditEvent event, String tenantId) { String logTable = formatDBTableName(tenantId, TABLE_NAME); String query = format(INSERT_SQL, logTable); makeSaveCall(promise, query, event, tenantId); - LOGGER.info("save:: Saved OrderLine AuditEvent with tenant id : {}", tenantId); + LOGGER.info("save:: Saved OrderLine AuditEvent with order line id : {}", event.getOrderLineId()); return promise.future(); } diff --git a/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/OrganizationEventsDaoImpl.java b/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/OrganizationEventsDaoImpl.java index 4a0e668..1762ded 100644 --- a/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/OrganizationEventsDaoImpl.java +++ b/mod-audit-server/src/main/java/org/folio/dao/acquisition/impl/OrganizationEventsDaoImpl.java @@ -56,7 +56,7 @@ public Future> save(OrganizationAuditEvent event, String tenantId) { String logTable = formatDBTableName(tenantId, TABLE_NAME); String query = format(INSERT_SQL, logTable); return makeSaveCall(query, event, tenantId) - .onSuccess(rows -> LOGGER.info("save:: Saved Organization AuditEvent with tenant id : {}", tenantId)) + .onSuccess(rows -> LOGGER.info("save:: Saved Organization AuditEvent with organization id: {}", event.getOrganizationId())) .onFailure(e -> LOGGER.error("Failed to save record with id: {} for organization id: {} in to table {}", event.getId(), event.getOrganizationId(), TABLE_NAME, e)); }