dbf-exporter http://jira.mfd.msk:8088/browse/CLS-489 добавил логи

This commit is contained in:
AKurakin 2023-08-23 19:36:22 +03:00
parent 79a6cc846f
commit 622ea90e81
2 changed files with 5 additions and 0 deletions

View file

@ -90,6 +90,9 @@ public class ExportFromHazelcast extends Stage implements InitializingBean {
if (tableRows.isEmpty()) {
log.info("uuid {}. Map {} is empty, generationId {}", resultContainer.getUuid(), resultContainer.getTableForExport().getHazelcastMapName(), resultContainer.getGroupId());
return StageResult.COMPLETE;
} else {
log.debug("uuid {}. Selected {} records from map {}, generationId {}", resultContainer.getUuid(),
tableRows.size(), resultContainer.getTableForExport().getHazelcastMapName(), resultContainer.getGroupId());
}
for (SpcexObjectBase value : tableRows) {
Object[] values;

View file

@ -53,6 +53,8 @@ public class PrepareDBFFile extends Stage implements InitializingBean {
return StageResult.ERROR;
}
resultContainer.setFileForExport(dbfFile);
log.debug("uuid {}. GenerationId {} will be export to file \"{}\"", resultContainer.getUuid(),
resultContainer.getGroupId(), dbfFile);
return StageResult.OK;
}