Is available to concat stack trace and previous line with error message
Opened this issue · 1 comments
facing the issue with logs having following issues:
Plugin combine stacktrace in one message without error text:
{"log":"\u001b[1;31m2018-04-14 08:15:30 ERROR [c3ec14179bdb0a79/c3ec14179bdb0a79] --- [nio-8080-exec-9] c.a.h.GlobalControllerAdvice.java\u001b[0;39m: User:35 Cannot to get customer link-client information \n","stream":"stdout","time":"2018-04-14T08:15:30.795970999Z"}
and send two messages to elasticsearch.
The first message is message with error text and the second message is stacktrace.
But, I want to have only one message: error text with stacktrace. In error text I have additional information to resolve problem.
Is any solution to add custom java rules to combine error text message and stacktrace message