dbf-exporter dbf-importer http://jira.mfd.msk:8088/browse/CLS-619 добавил логи для отладки
This commit is contained in:
parent
e58a19a511
commit
085acf8a2b
3 changed files with 3 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ public class ExportFromHazelcast extends Stage implements InitializingBean {
|
|||
log.warn("Can't delete file {}", resultContainer.getFileForExport().getName());
|
||||
}
|
||||
} else {
|
||||
log.debug("uuid {}, send to SFTP", resultContainer.getUuid());
|
||||
log.debug("uuid {}, send to SFTP path \"{}\"", resultContainer.getUuid(), path);
|
||||
gateway.sendToSftp(dbfFile, path);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ public class PrepareDBFFile extends Stage implements InitializingBean {
|
|||
return StageResult.ERROR;
|
||||
}
|
||||
List<SftpFileInfo> files = new ArrayList<>();
|
||||
log.trace("Get files from SFTP paths: {}", settings.getStore().getOutPayValDir().values());
|
||||
for (String path : settings.getStore().getOutPayValDir().values()) {
|
||||
files.addAll(gateway.listFiles(path));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ public class FileChecker {
|
|||
return;
|
||||
}
|
||||
List<File> files = new ArrayList<>();
|
||||
log.trace("Load from SFTP paths: {}", settings.getStore().getSftpIn().getSftpSrcPayValDir().values());
|
||||
for (String path : settings.getStore().getSftpIn().getSftpSrcPayValDir().values()) {
|
||||
files.addAll(gateway.listFiles(path));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue