Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mac03733's avatar

Logging Errors on Production server

can anyone recommend the best free way to keep track/log errors users may or may not report

0 likes
3 replies
bobbybouwmann's avatar
Level 88

Laravel writes all logs automatically to storage/logs/laravel.log unless you configure it in a different way. The log files catch everything depending on the log level. So your exceptions and info logging should be there by default

Documentation: https://laravel.com/docs/5.7/logging

There are also external services that can catch the logs for you like https://logdna.com/

2 likes
martinbean's avatar

@mac03733 As @bobbybouwmann says, the logging is configurable. If you look in your config/logging.php file, you’ll see there are “channels” for things like Slack and Papertrail, both of which offer free plans. You can look at bug tracking software like Bugsnag and Rollbar, again both of which offer free plans.

2 likes
Nee's avatar

You could log to slack for free.

Please or to participate in this conversation.