Commented exception print trace to avoid error cron email.

This commit is contained in:
Christian P. MOMON 2023-07-04 15:21:45 +02:00
parent ed2590b88b
commit 080f72a374
2 changed files with 2 additions and 2 deletions

View file

@ -229,7 +229,7 @@ public class HttpAccessLogIterator implements Iterator<HttpAccessLog>
catch (Exception exception) catch (Exception exception)
{ {
logger.warn("Error parsing line [{}][{}]", line, exception.getMessage()); logger.warn("Error parsing line [{}][{}]", line, exception.getMessage());
exception.printStackTrace(); // exception.printStackTrace();
} }
} }
else else

View file

@ -119,7 +119,7 @@ public class HttpErrorLogAnalyzer
catch (Exception exception) catch (Exception exception)
{ {
logger.warn("Error parsing line [{}][{}]", line, exception.getMessage()); logger.warn("Error parsing line [{}][{}]", line, exception.getMessage());
exception.printStackTrace(); // exception.printStackTrace();
this.errorCount += 1; this.errorCount += 1;
} }
} }