Link Search Menu Expand Document

Log files

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.

VCC Server

Default locations:
C:\ProgramData\Veeam\Backup
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.

VCC Cloud Gateway

Default location:
C:\ProgramData\Veeam\Backup

Change log location:

  1. Open the registry with regedit
  2. 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.

VSPC Server

Default location:
C:\ProgramData\Veeam\Veeam Availability Console\Log\Server

Change location:

  1. Locate C:\Program Files\Veeam\Availability Console\ApplicationServer\Veeam.MBP.Service.exe.config
  2. Open it in a text editor
  3. Search for:

    <DefaultLogSettings LogMaxSizeBytes="104857600" LogFilesNumber="2" ArchivesLimit="40" SeverityThreshold="Info" LogDirectoryPath="put your patch here" />

  4. Change LogDirectoryPath there.
  5. Restart the Veeam Management Portal service to apply the new settings.

VSPC Web UI

Default locations:
C:\ProgramData\Veeam\Veeam Availability Console\Log\REST
C:\ProgramData\Veeam\Veeam Availability Console\Log\UI

Back to top

Copyright © 2019-2021 Solutions Architects, Veeam Software.