Problem Description: 

How to enable log rotation in IWX 5.x


Solution:

Login into the Infoworks edge node as the user who starts IWX services execute the following command to enable log rotation.
  1. cd /opt/infoworks/bin
  2. ./iw-logrotate.sh enable

Sample output upon successfully enabling log rotation:
Logrotation enabled successfully, please check /opt/infoworks/conf/logrotate.conf


Note: If you face a 500 Server Error please check the following article to rectify it ( Error while enabling log rotation )


Affects version: 5.x