I came across a situation when it was necessary to add a certain word to the beginning of the journal, for example, “test”.
What exactly and where to change the code in Logger I know. (The file, if I’m not mistaken, is in “vendor/monolog/monolog/src/Monolog/Logger.php”.)
I also saw advice from a symphony, for example https://symfony.com/doc/2.8/logging/formatter.html.
But there, if I understood correctly, the file “JsonFormatter”. Which I don’t need to change, probably.
How can I access/override “Logger.php” which is one or two hierarchies higher? Or maybe you know another way to add text or a function to the beginning of the magazine?
Any advice or suggestion will be important.
The forum ‘OroCRM’ is closed to new topics and replies.