BoxLang 🚀 A New JVM Dynamic Language Learn More...

Route Auditor

v2.0.1 Modules

Route Auditor

Background

This module is a simple interceptor which captures the event being run based on the route that was hit in your API and persists it to a database with the date, time and endpoint hit.

Configuration

There are 3 properties to configure:

"route_auditor": { "datasource":"", "dataTable":"routedEvents", "active": true }

Data will only capture when all three properties are set and will fail silently with only a message to the console as an announcement in order to prevent any possibility of this logging tool to interfere with operation of the site.

Feedback to dcard ( at ) Ortussolutions.com

Change Log

2.0.0 - Breaking change - all references to routeAuditor are now route_auditor for greater compatability with other systems. 1.1.1 - Fixed error in UTC conversion 1.1.0 - Added the headers column and changed the createOn to be UTC and include hours, minutes and second. Note: There is a migration in this version to add the headers column to the routedEvents Table 1.0.0 - Added support to save the verb from the submitted request. Note: There is a migration in this version to add the new column "verb" to the routedEvents table. 0.0.4 - fixed error in migration. 0.0.3 - Added the routedRoute column and changed the route column to record the route listed in the router 0.0.2 - Amended code and migration to accomodate a header called "appCode" to track from where the call comes. 0.0.1 - Initial Release.

  •   Dan Card
  • Published
  • 2.0.1 is the latest of 11 release(s)
    Published
  • Published on {{ getFullDate("2026-06-15T18:13:07Z") }}

$ box install route_auditor

No collaborators yet.
  • {{ getFullDate("2023-11-14T02:58:40Z") }}
  • {{ getFullDate("2026-06-15T18:13:07Z") }}
  • 2,159
  • 2,833