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

Plugin Information

This plugin is available here: at the Joget Marketplace.This plugin , and is compatible with Joget DX 8 and onwardsor higher.

For troubleshooting and changelogs for any issues related to this plugin, visit the Log Cleaner Plugin Github page.

Usage

Steps to install

...

  1. In the Joget App Center, Navigate to Settings > Manage Plugins > and click Upload Plugin > select the jar File > .
  2.  Select the Log Clearner jar file and click Add.
  3. Once the plugin is updated listed in the Joget. Create , create the process and tool in that process and select the plugin name in it.

Usage

Log Cleaner Plugin Properties

NameDescription
Log Type

Select the logs from the Joget database that will be deleted.

  • API Logs: Deletes logs from the api_log table.
  • Schedule Logs: Deletes logs from the sch_job_log table.
  • Audit Logs: Deletes logs from the wf_audit_trail table.
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

...