61074: Acronis Cyber Protect Cloud for WHMCS: How to enable logs

use Google Translate

Last update: 18-11-2022

Applicable to:

  • Acronis Cyber Protect Cloud module for WHMCS v2.0
  • Acronis Backup Cloud module for WHMCS v1.0

    Note: Text logs can affect performance, therefore we recommend that you enable it temporarily for debugging purpose only.

    To enable logging in Acronis Cyber Protect Cloud module v2.0

    1. Create a destination directory:

    # mkdir /var/log/acroniscloud

    # chown 777 /var/log/acroniscloud

    2. Modify the configuration file config.yaml. If configuration file does not exist yet, create it from a sample config:

    # cd /path/to/whmcs/includes/acroniscloud/

    # cp config.yaml.sample config.yaml

    # vim config.yaml


        enabled: true

        filename: /var/log/acroniscloud/acronis-cloud.log

        level: DEBUG

    To enable logging in Acronis Backup Cloud module v1.0

    1. Open the configuration file <WHMCS_PATH>\modules\servers\AcronisBackupService\moduleconfig.php

    2. Change the value of the writeTextLog parameter from false to true.

    return array(
        'logApiRequests' => 0,
        'verifyCertificates' => true,
        'writeTextLog' => true,
        'pathToLog' => LOG_PATH .


    By default, the log is saved to /var/log/acronis/acronis-backup-service.log

    3. If writing to /var/log/acronis/ is not allowed, you can specify another directory in the pathToLog parameter or add permissions to this directory:

    # chmod 777 /var/log/acronis