I am using phpunit to debug my php application. My problem is that I have loggers that write logs to a file, but phpunit seems to want to capture all of them, and write them after the test output has been displayed.
This causes my terminal window to overflow with the log output, to the point that I cannot even see the actual test outputs.
I've tried reading phpunit's documentation, and found that there was a <logging> element that could be set https://phpunit.readthedocs.io/en/9.5/configuration.html?highlight=logging#the-logging-element
But it is not immediately clear to me how to set this configuration so that I stop getting blasted with log messages at the end of my test runs.
Does anyone know how to ignore or put this log output somewhere else?
Thanks in advance.