5.4.2 Clearing the Job Logs

To clear the job logs, follow these steps:
  1. Stop the dispatcher. (Refer to section Stopping the Dispatcher for more information).
  2. Type cd <directory> at the system prompt, where <directory> is your log directory.
    By default, a job log resides in the directory $KDD_PRODUCT_HOME/logs. You can configure the location of this log in the <OFSAAI Installed Directory>/behavior_detection/algorithms/ MTS/mantas_cfg/ install.cfg file.
    If you do not know the location of the log directory, check the install.cfg file. The log.mantaslog.location property indicates the log location; the default is $KDD_PRODUCT_HOME/logs but this location is configurable.
  3. Do either of the following:
    • Type rm job<job_id>-<date>-<time>.log at the log directory prompt to clear one job log, where <job_id>-<date>-<time> is the name of a specific job log.
    • Type rm job* to clear all job logs.
  4. Restart the dispatcher.