Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

The Log Cleaner Plugin that adds 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 used to delete the old log data from these tables which helps to maintain the database size.This article will explore the functionality and capability of this plugin.

Plugin Information

This plugin is available here: Joget Marketplace.

This plugin is compatible with Joget DX 8 and onwards.

Usage

Steps to install, run, and test the plugin:

...

NameDescription
Log TypeSelect 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:

  • 8 days
  • 15 days
  • 30 days
  • 60 days
  • 90 days

Using the Log Cleaner Plugin with the Scheduler Plugin

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, when system storage reaches 200GB. 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.

...

APP_Log_Cleaner_Plugin.jwa

Credits

...

This plugin, sample app and document is created by Mokxa.