KB Article #73480

LOG FILES: Change log rotation folder


How to change the default folder where the file logs are getting rotated to?


By default, ST rotates the file logs into the $FILEDRIVEHOME/var/db/hist/logs folder. If you'd like the logs to be rotated a different folder, follow the steps below.

1. Take a backup of the file $FILEDRIVEHOME/bin/rotate.

2. Edit the file and find the line SAVDIR="${FILEDRIVEHOME}/var/db/hist/logs"

3. Change the ${FILEDRIVEHOME}/var/db/hist/logs to another folder of your choice, using the full system path to the new location.

4. Save the file. No ST service restart is required.