http://jira.mfd.msk:8088/browse/BKI-3215 Changed log error lvl to warn for getErrorFileName method
This commit is contained in:
parent
83bcea13b1
commit
b61970a71e
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ public class SignalRestService {
|
||||||
SgnlReportMonitorigSetupError report = xmlProcessor.read(answer, SgnlReportMonitorigSetupError.class);
|
SgnlReportMonitorigSetupError report = xmlProcessor.read(answer, SgnlReportMonitorigSetupError.class);
|
||||||
if (report.getOperationReport().getErrorsForNextReport() != null) {
|
if (report.getOperationReport().getErrorsForNextReport() != null) {
|
||||||
String fileName = report.getOperationReport().getErrorsForNextReport().getFilename();
|
String fileName = report.getOperationReport().getErrorsForNextReport().getFilename();
|
||||||
log.error("Найдены ошибки по пакету. packCode={}, packageId={}, fileName = {}", packCode, packageId, fileName);
|
log.warn("Найдены ошибки по пакету. packCode={}, packageId={}, fileName = {}", packCode, packageId, fileName);
|
||||||
return fileName;
|
return fileName;
|
||||||
} else {
|
} else {
|
||||||
log.info("Пакет был поставлен на мониторинг без ошибок. packCode={}, packageId={}", packCode, packageId);
|
log.info("Пакет был поставлен на мониторинг без ошибок. packCode={}, packageId={}", packCode, packageId);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue