Answer the question
In order to leave comments, you need to log in
Utility for generating reports on Java application logs
Friends, there is a Java application that logs a lot and often. I would like to somehow have the ability to generate an html report once a day (well, or by rotating logs), where to group (counting the number) the exceptions that have occurred with a stack trace and send them to the mail.
Yes, it is possible to send a message every time an error occurs using log4j, but this is fraught with problems if the mail server is unavailable. Besides, it would be desirable to receive the periodic, grouped report.
Now I duplicate all errors in a separate log using log4j and rotate / send them once a day. But with this approach there is no grouping. Technically, it is not difficult to finish it, but something tells me that there should be contractual decisions.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question