TrafeX/docker-php-nginx

Logging

Closed this issue · 2 comments

I recognize that you've set this up to log to stdout. Thats fine, and helpful, but I feel that theres just not enough logging. Any form of php error gets thrown into the ether and its really difficult to troubleshoot. I've forked your repo and added msmtp to the image. I can get emails sent from an interactive shell, but I can't get anything sent via PHP and I can not figure out why!!! Please advice or improve the logging :)

Hi @addohm,

From a Nginx / PHP perspective, all errors are send to stdout. If you don't see any errors, then that might be related to your use-case. Make sure that settings like error_reporting and display_errors aren't overridden in your code.

I'm closing this issue due to inactivity. Let me know if you have any questions!