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

Route Auditor

v1.1.0 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:

"routeAuditor": { "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

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
  • 1.1.0 is the latest of 8 release(s)
    Published
  • Published on {{ getFullDate("2026-04-07T04:01:57Z") }}

$ box install route_auditor

No collaborators yet.
  • {{ getFullDate("2023-11-14T02:58:40Z") }}
  • {{ getFullDate("2026-04-07T04:01:57Z") }}
  • 1,976
  • 2,703