Hi All,
I am trying to write a shell script that filter java exceptions along with stack trace from a log file and also it has to count how many times each exception has occurred in the log file. Please help me in this.
The resulting file should be like
Number of times(Count) Exception1 the exception has occurred Stack trace( Log like NullPointerException)
Number of times(Count) Exception2 the exception has occurred Stack trace(Log like NameNotFoundException)
Please help me on this
Thanks in advance
Kavitha