Commented exception print trace to avoid error cron email.
This commit is contained in:
parent
ed2590b88b
commit
080f72a374
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue