Locate the configuration file 'apps_need4viz.json' in the N4V installation directory under the 'nodejs' folder.
Modify the log file paths in 'apps_need4viz.json' to point to the new location.
Locate the 'config.js' file in the 'Need4Viz\nodejs\node_modules\custom_element\ce_libs' directory.
Update the 'LogUsageFile' and 'LogFTPUsageFile' variables in 'config.js' to reflect the new log file paths.
Stop the N4V Windows service via the Central Management Console (CMC).
Execute 'pm2 kill' in the command line to stop all PM2-managed processes.
Verify in the Windows Task Manager that no 'node.exe' processes are running. If any remain, terminate them manually.
From the 'need4viz\nodejs' directory, run 'pm2 start apps_need4viz.json' to restart the services with the new configuration.
Execute 'pm2 save' to persist the new configuration.
Verify that log files are being written to the new location.
Restart the N4V Windows service via the CMC.