BoxLang 🚀 A New JVM Dynamic Language Learn More...
This module connects your ColdBox application to send bug reports and even LogBox integration into Rollbar (https://rollbar.com)
Apache License, Version 2.0.
Just drop into your modules folder or use the box-cli to install
box install rollbar
Create the rollbar
structure inside the moduleSettings
struct in your config/Coldbox.cfc
:
moduleSettings = {
rollbar = {
// Rollbar token
"ServerSideToken" = "",
// Enable the Rollbar LogBox Appender Bridge
"enableLogBoxAppender" : true,
// Min/Max levels for appender
"levelMin" = "FATAL",
"levelMax" = "INFO",
// Enable/disable error logging
"enableExceptionLogging" = true
}
};
Just by activating the module any exceptions will be sent to Rollbar. The LogBox appender bridge is activated by default, and the Rollbar appender is added as an appender to your application. You can fine tune it via your main ColdBox logbox configuration file.
The module will automatically listen for exceptions in any part of your application and send the exceptions over to rollbar.
You can use LogBox and any of its logging methods to send data to Rollbar automatically using the required logging levels for the appender in the configuration.
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com
Because of His grace, this project exists. If you don't like this, then don't read it, its not for you.
"Therefore being justified by faith, we have peace with God through our Lord Jesus Christ: By whom also we have access by faith into this grace wherein we stand, and rejoice in hope of the glory of God. And not only so, but we glory in tribulations also: knowing that tribulation worketh patience; And patience, experience; and experience, hope: And hope maketh not ashamed; because the love of God is shed abroad in our hearts by the Holy Ghost which is given unto us. ." Romans 5:5
"I am the way, and the truth, and the life; no one comes to the Father, but by me (JESUS)" Jn 14:1-12
moduleSettings
breaks ColdBox 4ERROR
as default instead of INFO
.env
support for rollbar tokensenableExceptionLogging
setting.
$
box install rollbar