dbf-exporter dbf-importer http://jira.mfd.msk:8088/browse/CLS-619 добавил логи для отладки

This commit is contained in:
AKurakin 2024-04-18 11:40:58 +03:00
parent e58a19a511
commit 085acf8a2b
3 changed files with 3 additions and 1 deletions

View file

@ -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);
}
}

View file

@ -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));
}

View file

@ -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));
}