Flare is an error tracker for Laravel, but what do you do if you want notifications for other events which do not throw exceptions? You might wish to receive notifications for failing payments or other actions that users do in your application and that don't throw errors but where you want to know that they happen.
Since Ignition 1.9.0, Flare supports the collection of logs. You can check out the documentation for this feature here.
The default configuration for the log recording feature of Flare is the log level error, and all logs that happen as Error, Emergency, and Critical trigger a notification instantly. The level for this is configurable at the config file within your application:
// in your config/logging.php
'flare' => [
'driver' => 'flare',
'level' => 'critical',
],
The feature itself can be enabled and disabled in the same file with the key:
send_logs_as_events
Make sure to check our documentation and learn how you get the most out of your Flare subscription.
Continue reading
Introducing Flare’s next big feature: performance monitoring
Flare's new Performance Monitoring feature is now live, giving you complete visibility into your Laravel app's HTTP routes, queued jobs, Artisan commands, and database queries.
Freek
Lessons from the deep end
20 months ago, we started building Performance Monitoring as Flare’s next big feature, never expecting Laravel’s rapid commercial growth to put us in direct competition with their own tools. This is our honest take on those 20 months went, how we’re adapting to this new reality, and where we’re heading next while staying true to who we are. A dive into the deep end, without knowing how far down it goes.
Alex
Subscribe to Backtrace, our quarterly Flare newsletter
No spam, just news & product updates