Re: The real world ...

From: Date: Thu, 13 Jun 2019 12:34:11 +0000
Subject: Re: The real world ...
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-105899@lists.php.net to get a copy of this message
Le 13/06/2019 14:20, Lester Caine a écrit :
On 13/06/2019 13:04, Andrey Andreev wrote:
You have logs to see the errors; relying on your users to report the actual error messages to you is the worst way to do it.
How many website logs can you manage on a daily basis? Given the volume of material in heavily used website. I am STILL trying to get long established sites back to a state where that would be a practical approach. Especially when adding material is first element on the to-do list. I've several hours of such work to get cleared first and prompts in that traffic is easier to manage than then working through several machines worth of logs ...
Have you considered using solutions like Sentry? https://sentry.io/welcome/ It gets added to the error handler and will report errors to a server. Quite handy. Another solution is to use the shutdown and error handler to send an email to you when there is an error: https://stackoverflow.com/questions/277224/how-do-i-catch-a-php-fatal-error We used that solution for quite some time, but it can quickly overload your email server when you have millions of requests producing errors ;)

« previous php.internals (#105899) next »