Skip to content

Commit

Permalink
fix: log formatting errors (#3169)
Browse files Browse the repository at this point in the history
The logs were improperly formatted and that was causing an exception,
instead of giving us the expected log message.

RHCLOUD-35454
  • Loading branch information
MikelAlejoBR authored Dec 4, 2024
1 parent f790ccf commit 2e7ac56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void migrateAssets() {
@Override
public void onNext(final CreateTuplesResponse createTuplesResponse) {
Log.debug("Calling onNext");
Log.infof("[offset: %s][first_integration: %s][last_integration: %s] Sent batch of % integrations to Kessel", finalOffset, fetchedEndpoints.getFirst().getId(), fetchedEndpoints.getLast().getId(), fetchedEndpoints.size());
Log.infof("[offset: %s][first_integration: %s][last_integration: %s] Sent batch of %s integrations to Kessel", finalOffset, fetchedEndpoints.getFirst().getId(), fetchedEndpoints.getLast().getId(), fetchedEndpoints.size());
}

@Override
Expand All @@ -98,7 +98,7 @@ public void onError(final Throwable throwable) {
@Override
public void onCompleted() {
Log.debug("Calling onCompleted");
Log.infof("[offset: %s][first_integration: %s][last_integration: %s] Sent batch of % integrations to Kessel", finalOffset, fetchedEndpoints.getFirst().getId(), fetchedEndpoints.getLast().getId(), fetchedEndpoints.size());
Log.infof("[offset: %s][first_integration: %s][last_integration: %s] Sent batch of %s integrations to Kessel", finalOffset, fetchedEndpoints.getFirst().getId(), fetchedEndpoints.getLast().getId(), fetchedEndpoints.size());
}
});

Expand Down

0 comments on commit 2e7ac56

Please sign in to comment.