Class PurgeLogJob

java.lang.Object
org.codelibs.fess.job.PurgeLogJob

public class PurgeLogJob extends Object
Job for purging old log entries from the system. This job removes old crawling sessions, search logs, job logs, and user info logs based on configured retention periods. It helps maintain system performance by preventing log tables from growing too large.
  • Constructor Details

    • PurgeLogJob

      public PurgeLogJob()
      Default constructor for PurgeLogJob. Creates a new instance of the log purging job with default settings.
  • Method Details

    • execute

      public String execute()
      Executes the log purging job. Performs the following cleanup operations: - Purges old crawling sessions - Purges search logs older than configured days - Purges job logs older than configured days - Purges user info logs older than configured days - Updates job log status
      Returns:
      a string containing the execution result and any error messages