====== How to change the log file location for N4V for Webi ====== //Anonymised summary of support ticket #860692 (2026-04-22)// ===== Symptom ===== The default log files for N4V for Webi are stored in the installation directory, but the user wants to redirect them to a dedicated disk for better management. ===== Environment ===== N4V for Webi installed on a server with SAP BusinessObjects Web Intelligence. The environment uses Windows services and PM2 for process management. ===== Resolution ===== - %%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.