[Lada-commits] [PATCH 3 of 5] Remove verbose debug logging
Wald Commits
scm-commit at wald.intevation.org
Tue Nov 1 14:21:12 CET 2016
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1478002885 -3600
# Node ID 649ce9c425b31265112e33329112285916d81b44
# Parent 9964210da1563ba11ea9f2e3c7df5b7a00f1b4b8
Remove verbose debug logging.
diff -r 9964210da156 -r 649ce9c425b3 src/main/java/de/intevation/lada/rest/importer/LafImportService.java
--- a/src/main/java/de/intevation/lada/rest/importer/LafImportService.java Tue Nov 01 13:19:08 2016 +0100
+++ b/src/main/java/de/intevation/lada/rest/importer/LafImportService.java Tue Nov 01 13:21:25 2016 +0100
@@ -80,17 +80,9 @@
importer.doImport(content, userInfo);
Map<String, Object> respData = new HashMap<String,Object>();
if (!importer.getErrors().isEmpty()) {
- logger.debug("errs: " + importer.getErrors().size());
- for (Entry<String, List<ReportItem>> entry : importer.getErrors().entrySet()) {
- logger.debug(entry.getKey());
- for (ReportItem item : entry.getValue()) {
- logger.debug(item.getKey() + " - " + item.getValue() + ": " + item.getCode());
- }
- }
respData.put("errors", importer.getErrors());
}
if (!importer.getWarnings().isEmpty()) {
- logger.debug("warns: " + importer.getWarnings().size());
respData.put("warnings", importer.getWarnings());
}
More information about the Lada-commits
mailing list