I'm trying to build my Symfony application on top of ReactPHP engine, and everything goes fine, but the logs.
I have my application configured with a regular file log under devel environment, and a simple syslog log with level=error under production. In both environments I have "debug" enabled, otherwise even without ReactPHP and using a simple Apache, I cannot see any error in syslog.
The problem comes when I use ReactPHP. Initializing the symfony kernel using devel environment, everything is logged BUT the exception. It seems that I'm doing something wrong because Monolog is not handling the exception and any error is being logged.
- Do you know any part of the Symfony application initialization where all this handlers are enabled (and I should add it as well in the kernel initialization in my ReactPHP file)?
- If not, then... Symfony should work the same way under ReactPHP, right? I mean, the kernel should always handle any error/exception and log it the way I configured in MonologBundle, and after that, throw the exception again, right?