Fix LogAccessor formatting

This commit is contained in:
Ilayaperumal Gopinathan
2025-01-28 15:34:07 +00:00
parent 946657fd77
commit c5dd7683b6
2 changed files with 4 additions and 4 deletions

View File

@@ -336,12 +336,12 @@ public class MariaDBVectorStore extends AbstractObservationVectorStore implement
String sql = String.format("DELETE FROM %s WHERE %s", getFullyQualifiedTableName(), nativeFilterExpression);
logger.debug("Executing delete with filter: {}", sql);
logger.debug("Executing delete with filter: " + sql);
this.jdbcTemplate.update(sql);
}
catch (Exception e) {
logger.error("Failed to delete documents by filter: {}", e.getMessage(), e);
logger.error(e, "Failed to delete documents by filter: " + e.getMessage());
throw new IllegalStateException("Failed to delete documents by filter", e);
}
}

View File

@@ -310,10 +310,10 @@ public class MilvusVectorStore extends AbstractObservationVectorStore implements
}
long deleteCount = status.getData().getDeleteCnt();
logger.debug("Deleted {} documents matching filter expression", deleteCount);
logger.debug("Deleted " + deleteCount + " documents matching filter expression");
}
catch (Exception e) {
logger.error("Failed to delete documents by filter: {}", e.getMessage(), e);
logger.error(e, "Failed to delete documents by filter: " + e.getMessage());
throw new IllegalStateException("Failed to delete documents by filter", e);
}
}