4.4.2 Clearing the Job Logs
To clear the job logs, follow these steps:
- 1. Stop the dispatcher by following the procedure for Stopping the dispatcher (See section Stopping the Dispatcher for more information).
- 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<INSTALL_DIR>/behavior_detection/algorithms/MTS/mantas_cfg/ install.cfgfile.If you do not know the location of the log directory, check the
install.cfgfile. Thelog.mantaslog.locationproperty indicates the log location; the default is$KDD_PRODUCT_HOME/logsbut this location is configurable. - Do either of the following:
- Type
rm job<job_id>-<date>-<time>.logat 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.
- Type
- Restart the dispatcher.