Skip to content

Migrating from sentry/sentry-laravel 3.8.2 -> 4.2.0 #855

Answered by stayallive
gwidgery asked this question in Q&A

You must be logged in to vote

Can you try adding this to your sentry.php next to your other options:

	'logger' => new \Sentry\Logger\DebugFileLogger(storage_path('logs/sentry.log')),

Note: if you have config caching, disable it for a bit since this won't work with that!

This should write to storage/logs/sentry.log any internal logs from the SDK that might tell you what is not working. My first guess is that you don't have the cURL extension enabled for your web requests but do have it enabled on the CLI. The logs should surface that if that is the case.

Replies: 2 comments 5 replies

You must be logged in to vote
2 replies
@gwidgery

@cleptric

You must be logged in to vote
3 replies
@gwidgery

@stayallive

Answer selected by gwidgery
@gwidgery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants