Skip to content

Commit

Permalink
Add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
shreelakshmijoshi committed May 10, 2024
1 parent d33e28a commit 7c2f915
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public Future<Void> processSubscriptionMonitoringMessages(JsonObject message) {
private Future<JsonObject> databaseOperations(JsonObject queries) {
LOGGER.trace("databaseOperations started");
Promise<JsonObject> promise = Promise.promise();
LOGGER.debug("Queries are : {}", queries.encode());
Future<JsonObject> insertInPostgres = postgresService.executeWriteQuery(queries);
insertInPostgres
.onSuccess(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public String buildPostgresWriteQuery(JsonObject request) {
.replace("$2", userId)
.replace("$3", api)
.replace("$4", method)
.replace("$5", body.encode())
.replace("$5", body.toString())
.replace("$6", Long.toString(responseSize))
.replace("$7", utcTime.toString());
}
Expand Down

0 comments on commit 7c2f915

Please sign in to comment.