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:
- There are all logs (normal condition);
- There is only the first part of the logs;
- 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.
- 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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…