Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
126 views
in Technique[技术] by (71.8m points)

php - How do I keep track of leaks when recording logs?

I have a project in Symfony 3.4. Monolog (StreamHandler) is used for logging and a Stackify agent is additionally integrated.

There is an algorithm at each step of which logs are necessarily created (either a success or an error). The problem is that after the algorithm passes, there are several possible outcomes:

  1. There are all logs (normal condition);
  2. There is only the first part of the logs;
  3. There is only the last log. Especially disconcerting is the fact that there is only the last log. There is no way they can jump over.
  4. There are no logs at all.

Is it possible that when there is a load on the server, the recording is mutually blocked and the logs are not written as a result?

There was a suggestion to transfer to RabbitMQ logs with further processing by a third-party subscriber. In that case, won't there be an additional excessive load on the server?

question from:https://stackoverflow.com/questions/65897410/how-do-i-keep-track-of-leaks-when-recording-logs

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...