How to configure the TrapExploder LogRotate functionality
Article ID: 116741
The following are the instructions for configuring the TrapExploder LogRotate functionality.
LogRotate is used to create a new log file every day, archive (compress) the previous day’s file and retain a specific number of archives (365 in this example).
This function provides an easy maintenance mechanism that also makes searching the current day or previous day’s logs easier. Without this function, a single huge file would be continuously appended to until all disk space was consumed.
TrapExploder running on Linux
Create the Configuration file
Create a new configuration file for LogRotate in /ca/trapx/custom/conf/trapx-log-rotate.conf with the following contents: