Type
magento2-module
Logs Magento 2 errors and exceptions to Rollbar.com.
magento2-module
MIT
None
None
None
None
None
Logs errors, exceptions and log messages to Rollbar.com
composer require joostvanveen/rollbarlogger
php bin/magento module:enable Joostvanveen_RollbarLogger
php bin/magento setup:upgrade
Available settings in Magento admin panel: Stores › Config › Advanced › Rollbar Logger
* Enable logging to Rollbar : Switch logging on or off.
* Rollbar environment : The environment to send to Rollbar. Typically: local, staging or production
* Rollbar post_server_item token : The Rollbar token for your project. You can find this in Rollbar, under Settings › Project Access Tokens › post_server_item
* Log to Rollbar in development mode : If no, only log to Rollbar when Magento deploy mode is developer
. You can check the deploy mode using php bin/magento deploy:mode:show
* Log Level : Pick the log level threshold to log to Rollbar.
* Include packages : A list of Composer packages for which you want the version to be logged to Rollbar. Use the Composer name, like onestepcheckout/iosc
. Each package name should be on its own line.
* Exclude strings : A list of (partial) strings that should not be logged, like all strings containing Add of item
. Each string should be on its own line.