Answer the question
In order to leave comments, you need to log in
How to stop outputting each line in the stacktrace to the log as a separate message?
Hello!
Already on the second project, I encounter the problem of reading logs on the production. There are several microservices raised in Kubernetis on sale. On the first project, the logs were written in graylog, in the current project, they first used Kibana, then went to Google Cloud. In all cases, the problem is the same: if there is a logged exception, then its stacktrace, consisting of several lines, is published to the logs line by line, i.e. one line - one single message. It is very difficult to read such logs. On both projects, devops say that this is NORMAL, that these are docker features. I myself am a developer and when I am involved in the analysis of incidents, it becomes a pain for me. I do not agree with devops that this is normal.
Help solve the problem.
Thank you.
Answer the question
In order to leave comments, you need to log in
On both projects, devops say that this is NORMAL
This problem is not solved by these tools. Collection of logs in this form should be, and tools like Sentry are used to analyze the logs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question