Replies: 1 comment
-
Hey @rogyw! I'm here to help you with any bugs, questions, or contributions. Let's get to the bottom of this together. In the docker-magento setup, PHP error logs are configured to be stored at To see the PHP error logs, you can use the following command: docker logs <container_id> Make sure you are checking the logs for the correct container, typically the PHP-FPM container. If you are not seeing the PHP error messages, ensure that the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
In Docker Magento, where can I see the nginx fpm PHP Error logs?
I've been working with developing and testing code in Docker Magento, but I'm unclear on (or have forgotten) where the PHP error log messages are written to. My Magento's application mode is "developer".
src/var/log
contains thedebug.log
,system.log
, andexception.log
as well as logs generated by plugins. I don't see any PHP error messages in any of them. Exceptions are no longer being output into exception.logdocker logs <container id>
has the magento related log messages similar to system.log. But there are no PHP error messages.I was using M248-Beta 1, and just built a new set of docker-magento 2.4.7-p3. Both do not have PHP error messages. (I have triggered errors and exceptions using the functions and they don’t show up either).
Windows Subsystem for Linux on Win11 24H2 Docker Desktop 4.38.0
Any suggestions of what I'm missing? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions