...
Steps to install
- In the Joget App Center, Navigate navigate to Settings > Manage Plugins and click > Upload Plugin and click Choose File.
- Select the Log Clearner jar file and click Add. tThe plugin is listed in the Installed Plugins tab once uploaded.
- Create In a new app or an existing app and , create a new process in the App Composer page.
- In Process Builder, add a Participant, Start and Tool component to the participant and connect it to the Start component.
- Click the tool Tool component and in the Mapping tab, select Log Cleaner in the Tools drop-down list.
Usage
Log Cleaner Plugin Properties
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 following image displays the monitor logs that will be cleared after the expected duration elapses.
Download Sample App
APP_logcleaner-1-20250207013847.jwa
...