Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
This article features the Log Cleaner Plugin and sample app created by Mokxa Technologies, LLC. This plugin was created to add in a process tool or scheduler to clear the API logs, scheduler logs and Audit trail logs from Joget database with duration from 8 days to 90 days old. It is used to delete old log data from these tables to maintain the database size. This article showcases the functionality and capability of this plugin.
This plugin requires Joget DX Enterprise version.
Plugins Available in the Bundle:
Log Cleaner (Process Tool)
This plugin bundle is compatible with Joget DX 8 and onwards.
To download this plugin, visit the Joget Marketplace.
For any issues related to this plugin, visit the Log Cleaner Plugin Github page.
Name | Description |
---|---|
Log Type | Select the logs from the Joget database that will be deleted.
|
Duration | Select the number of days before a log is deleted. The following are the options available:
|
The Log Cleaner Plugin can also be used with the Scheduler Plugin to trigger the log cleaning process when a specific event occurs, for example, clearing logs on the first day of each month. When configuring the Scheduler Plugin properties, select the app containing the Log Cleaner Plugin for the App field and the Log Cleaner Plugin for the Plugin field.
Name | Description |
---|---|
Job Name | Specify a name for the scheduled job. |
Cron Expression | A cron expression is a string comprising five or six fields separated by white space that represents a set of times, normally as a schedule to execute some routine. |
App | Select the app containing the Log Cleaner Plugin |
Plugin | Select the Log Cleaner Plugin. |
The selected log type database table will be cleared after the expected duration elapses. This is reflected in the Web App Log Viewer as displayed in the image below.
APP_logcleaner-1-20250207013847.jwa
This plugin, sample app and documentation are created by Mokxa Technologies, LLC.