SimpleSAMLphp + Rollbar
This module for SimpleSAMLphp provides a LoggerHandler that integrates with Rollbar service.
- Install and configure SimpleSAMLphp.
- Install Rollbar -
composer require systemseed/simplesamlphp-module-rollbar.
- Fill
rollbar.tokenvalue insimplesamlphp/config/config.phpwith server token taken from Rollbar. - Set
rollbar.environmentvalue insimplesamlphp/config/config.phpto define current environment name.
Set rollbar.exception_handler value to true in simplesamlphp/config/config.php. This will catch and log all
exceptions to Rollbar as a single occurrence in Rollbar dashboard.
Set logging.handler to 'SimpleSAML\Module\rollbar\Logger\RollbarLoggingHandler'. Please be aware that enabled
backtraces, will result in each line in the backtrace treated as a separate occurrence.