Extending Zerto’s Log Files Retention - Best Practice : Procedure - How To Extend Zerto’s Log Files Retention
  
Procedure - How To Extend Zerto’s Log Files Retention
 
CAUTION
Before you increase the number of ZVM log files retained, please ensure there is enough disk space available on the drive that holds the ZVR folder to accommodate the new log files. A single log file weighs 10 MBs, so increasing the number of log files retained by 100, will use an additional 1 GB.
1. Open the ZVM directory; C:\Program Files\Zerto\Zerto Virtual Replication, or in a different drive according to the user’s selection during installation of ZVR.
2. Within this directory, locate the file named NLog.config, and create a backup copy of this file.
3. Open and edit the NLog.config file with a text file editor (preferably notepad/notepad++).
4. Use this step as a guideline of how to double the log files retention:
In line 22, change the value of maxArchiveFiles from 150 files to 300 files, and save the file.
CAUTION
Zerto does not recommend decreasing the number of logs from the default settings, or changing any other values within the log configuration file. Changing other values within this file may cause issues with the ZVM logging function, and prevent the Zerto Diagnostic Application or Remote Log Collector from collecting logs when requested.
 
See also:
Optional - VRA Extended Logging - For Very Busy VRAs
Zerto’s Log Files Retention - FAQ