To maintain logs on a centralized place for HA Environments for different components such as Portal, Web Service, REST API, Jobs Manager, Scans Manager, System Manager, Access Control, etc, please follow the steps indicated below:
Create a shared folder as your centralized logs folder.
Open SQL Server Management (or other management tool) and update the table CxComponentConfiguration for the CentralizedLogsPath key with the value being the shared path selected, by using the following SQL query:
UPDATE CxDB.[dbo].[CxComponentConfiguration] SET Value = '\\<HOST>\CxCentralizedLogs\Logs' WHERE [key] = ‘CentralizedLogsPath'
UPDATE CxDB.[dbo].[CxComponentConfiguration] SET Value= '\\172.16.10.141\CxCentralizedLogs\Logs' WHERE [key] ='CentralizedLogsPath’
3. Open each component log configuration file in the installation folder as given in column Configuration FilePath on the table below and update the paths location for each component to the shared folder selected.