Rollbar – best freemium tool for Magento 2 error tracking

Introduction

Rollbar is a freemium tool that I used to track all my Magento 2 sites. There are so many reasons that I have to use it:

  • I don’t want to use SSH and view the exception.log on a console.
  • The log isn’t included additional information like Browser, OS, and device type.
  • It’s inconvenient to share or explain the log file to a non-programmer.
  • The log file sometimes too big to open.
  • Logfile doesn’t have a good exception traceback.
Browser/OS report

This tool is free up to 5000 error events per month. You can visit Rollbar website to see more details about its features.

Installation

1/ Run setup:upgrade to make sure there is no upgrade required:

2/ Add dependency to composer.json:

3/ Run composer update:

4/ Modify app/etc/env.php:

5/ Enable the extension:

6/ Run setup:upgrade again:

7/ You can now see all the NEW exception on the Rollbar dashboard. Please note that Rollbar will not import your old log.

 

Refs: https://rollbar.com/blog/magento-error-monitoring/

Leave a Reply