Link Search Menu Expand Document

Log files

In a multi-tenant 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="" />

  4. Change the value of LogDirectoryPath:

    Example:
    <DefaultLogSettings LogMaxSizeBytes="104857600" LogFilesNumber="2" ArchivesLimit="40" SeverityThreshold="Info" LogDirectoryPath="E:\logs" />

  5. Restart the Veeam Management Portal service to apply the new settings.

VSPC Web UI

NOTE: Files Communications.log and SystemInformation.txt remain in the original location and can currently not be relocated.

Web UI logs

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

Change location:

  1. Locate “C:\Program Files\Veeam\Availability Console\Web UI\appsettings.Logging.json”
  2. Open the file with a text editor
  3. In the file, find the following line:

    “path”: “%ProgramData%\Veeam\Veeam Availability Console\Log\UI”

RESTful API logs

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

Change location:

  1. Locate “C:\Program Files\Veeam\Availability Console\RestAPI\appsettings.Logging.json”
  2. Open the file with a text editor
  3. In the file, find the following line:

    “path”: “%ProgramData%\Veeam\Veeam Availability Console\Log\REST”


Back to top

Copyright © 2019-2022 Solutions Architects, Veeam Software.