dbf-exporter http://jira.mfd.msk:8088/browse/CLS-489 добавил логи
This commit is contained in:
parent
79a6cc846f
commit
622ea90e81
2 changed files with 5 additions and 0 deletions
|
|
@ -90,6 +90,9 @@ public class ExportFromHazelcast extends Stage implements InitializingBean {
|
||||||
if (tableRows.isEmpty()) {
|
if (tableRows.isEmpty()) {
|
||||||
log.info("uuid {}. Map {} is empty, generationId {}", resultContainer.getUuid(), resultContainer.getTableForExport().getHazelcastMapName(), resultContainer.getGroupId());
|
log.info("uuid {}. Map {} is empty, generationId {}", resultContainer.getUuid(), resultContainer.getTableForExport().getHazelcastMapName(), resultContainer.getGroupId());
|
||||||
return StageResult.COMPLETE;
|
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) {
|
for (SpcexObjectBase value : tableRows) {
|
||||||
Object[] values;
|
Object[] values;
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,8 @@ public class PrepareDBFFile extends Stage implements InitializingBean {
|
||||||
return StageResult.ERROR;
|
return StageResult.ERROR;
|
||||||
}
|
}
|
||||||
resultContainer.setFileForExport(dbfFile);
|
resultContainer.setFileForExport(dbfFile);
|
||||||
|
log.debug("uuid {}. GenerationId {} will be export to file \"{}\"", resultContainer.getUuid(),
|
||||||
|
resultContainer.getGroupId(), dbfFile);
|
||||||
return StageResult.OK;
|
return StageResult.OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue