Hello Samatnys,
Management UI is developed using Node JS, and for its continuous availability we used a library called forever.
I understand your concern regarding the log rotation of this library.
Old logs of ‘.forever’ can be deleted using
PATH=/opt/CA/Directory/management-ui/node.js/bin:$PATH /opt/CA/Directory/management-ui/node_modules/.bin/forever cleanlogs
The above command can be included into dxmgmtuiserver as below,
- open ‘dxmgmtuiserver’ script file for editing.
- search for “echo "Starting Management UI server …”
- insert the below line right after the above echo statement,
- ${DXUIHOME}/node_modules/.bin/forever cleanlogs
The above steps will make sure to clean the old logs when ever Management UI is stopped and started on the command line.
Thanks,
-Vikas.