How to enable Storware Backup & Recovery DEBUG mode

Quite often support will ask for debug logs for more in-depth troubleshooting. In order to do that, follow the steps below.

Storware Backup & Recovery Node

  1. Edit /opt/vprotect/log4j2-node.xml change INFO to DEBUG in <Property name="logLevel">...</Property> tag

  2. Restart Storware Backup & Recovery-node service:

    systemctl restart vprotect-node
  3. Proceed with operations that need to be logged.

  4. Then collect logs from /opt/vprotect/logs/<NODE_NAME> directory.

Storware Backup & Recovery Server

  1. Edit /opt/vprotect/log4j2-server.xml change INFO to DEBUG in <Root level="..."> tag

  2. Restart Storware Backup & Recovery-server service:

    systemctl restart vprotect-server
  3. Proceed with operations that need to be logged.

  4. Then collect logs from /opt/vprotect/logs/api and /opt/vprotect/logs/appserver directories.

Storware Backup & Recovery Cloud Agent

  1. Edit /opt/vprotect/cloudagent/AgentConfig.json file (on the node system) and add below line to the “logs” section:

    "level": "DEBUG"
  2. The file should look like that, after the changes:

    {
    "agent": {
            "logs":{
                    "path": "../logs/cloudagent",
                    "level": "DEBUG"
            }
    },
    "server": {
        "address": "localhost:8383",
    }
    }
  3. Restart Storware Backup & Recovery-node service:

    systemctl restart vprotect-node
  4. Proceed with operations that need to be logged.

  5. Then collect logs from /opt/vprotect/logs/cloudagent directory.

Tape manager

  1. Edit /opt/vprotect/tapemanager/config/application.properties file on the host where tape manager is installed. Change quarkus.log.level parameter to DEBUG:

    quarkus.log.level=DEBUG
  2. The file should look like that, after the changes:

    #Logger
    quarkus.log.level=DEBUG
    quarkus.log.min-level=DEBUG
    quarkus.log.file.rotation.max-file-size=5M
    quarkus.log.file.rotation.max-backup-index=10
    quarkus.log.file.rotation.file-suffix=.yyyy-MM-dd
  3. Restart sbr-tape-manager service:

    systemctl restart sbr-tape-manager
  4. You can find logs in /opt/vprotect/logs/tapemanager directory.

Last updated