The Sentry Logger extension logs PHP errors to the specified Sentry DSN in the settings.
-
Set the Sentry DSN that errors should log to. A default implementation is used to create the Raven client object.
-
Configuration variables can be set using a JSON notation. For example:
{ "environment": "production", "tags": {"php_version": "7.0"} }
Third-party addons can sometimes throw a lot of PHP warnings or notices that trigger the log. It is recommended to implement this in a development environment first before adding it to a production environment.