Rollbar – best freemium tool for Magento 2 error tracking


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 rollbar magento2 magenaut blog
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.


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

php bin/magento setup:upgrade

2/ Add dependency to composer.json:

 "rollbar/rollbar-magento2": "*"

3/ Run composer update:

composer update

4/ Modify app/etc/env.php:

'rollbar' => [
    'access_token' => 'POST-ACCESS-TOKEN',
    'environment' => 'development'

5/ Enable the extension:

php bin/magento module:enable Rollbar_Magento2

6/ Run setup:upgrade again:

php bin/magento setup:upgrade

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



0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments