In multitenant environment it is common to see logs files growing fast. Though it is almost impossible to predict, in the field we see that in a general deployment they can easily hit 100Gb-200Gb. By default, log files are written to a location on the system volume (e.g. C:\ProgramData\Veeam). Keeping logs on the system drive is not recommended as they can easily fill up the entire volume and make the system services crash.
To avoid this scenario, the best practice is to move logs to a separate volume or drive. Below is information on default logs location and ways to change it.
|C:\ProgramData\Veeam\Veeam Availability Console\Log\Agent|
|C:\ProgramData\Veeam\Veeam Vac Deployment Service|
How to change the settings related to Veeam Backup & Replication log files can be found at KB1825.
Change log location:
- Open the registry with regedit
Add or change the following key:
LogDirectory Type: STRING Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\ Description: Defines logs default location. Default value: Default directory. Recommended value: Path to a folder on non-system drive having sufficient free space.
|C:\ProgramData\Veeam\Veeam Availability Console\Log\Server|
- Locate C:\Program Files\Veeam\Availability Console\ApplicationServer\Veeam.MBP.Service.exe.config
- Open it in a text editor
<DefaultLogSettings LogMaxSizeBytes="104857600" LogFilesNumber="2" ArchivesLimit="40"
SeverityThreshold="Info" LogDirectoryPath="put your patch here" />
- Change LogDirectoryPath there.
- Restart the Veeam Management Portal service to apply the new settings.
|C:\ProgramData\Veeam\Veeam Availability Console\Log\REST|
|C:\ProgramData\Veeam\Veeam Availability Console\Log\UI|