Enable DEBUG mode in Storware Backup and Recovery
This guide explains how to enable debug mode for troubleshooting or detailed logging. The operation involves connecting to the server via SSH and editing a configuration file.
Available log levels
INFO
Provides general operational messages to confirm that the software is functioning as expected
DEBUG
Offers detailed diagnostic information to help developers troubleshoot issues
TRACE
Provides the most granular level of detail, often used to trace the execution of specific code paths
Changing log level in the Storware Backup and Recovery components
Server
Connect to the server host using SSH
Open the following file for editing
/opt/vprotect/server/quarkus.properties
Example:Locate the line in the file that controls the logging mode
quarkus.log.level=INFO
The default value for the logging level is INFOSet the value to INFO, DEBUG or TRACE
Save the file
Restart the service:
Node
Connect to the node host using SSH
Open the following file for editing
/opt/vprotect/node/log4j2-node.xml
Example:Locate the line in the file that controls the logging mode
<Property name="logLevel">INFO</Property>
The default value for the logging level is INFOSet the value to INFO, DEBUG or TRACE
Save the file
Restart the service:
Tape manager
Connect to the tape manager host using SSH
Open the following file for editing
/opt/vprotect/tapemanager/config/application.properties
Example:Locate the line in the file that controls the logging mode
quarkus.log.level=INFO
The default value for the logging level is INFOSet the value to INFO, DEBUG or TRACE
Save the file
Restart the service:
Cloud agent
Connect to the node host using SSH
Open the following file for editing
/opt/vprotect/cloudagent/AgentConfig.json
Example:In the JSON file, find the
logs
section nested under theagent
keyAdd the following key to the
logs
section"level": "INFO"
The default value for the logging level is INFO. Set the value to INFO, DEBUG or TRACE. After the modification, the section should look like this:Save the file
Restart the node service:
OS agent
Connect to the client host
Open the following file for editing Windows system:
C:\ProgramData\sbr-osagent\osagent.properties
Linux system:/opt/vprotect/osagent
MacOS system:/Library/Application Support/osagent
Locate the line in the file that controls the logging mode
osagent.logs.level=INFO
The default value for the logging level is INFOSet the value to INFO, DEBUG or TRACE
Save the file
Restart the service:
Windows
Linux
MacOS
Cloud server
Connect to the node host using SSH
Open the following file for editing
/opt/vprotect/tapemanager/config/application.properties
Example:Locate the line in the file that controls the logging mode
quarkus.log.level=INFO
The default value for the logging level is INFOSet the value to INFO, DEBUG or TRACE
Save the file
Restart the node service:
OS server
Connect to the tape manager host using SSH
Open the following file for editing
/opt/vprotect/tapemanager/config/application.properties
Example:Locate the line in the file that controls the logging mode
quarkus.log.level=INFO
The default value for the logging level is INFOSet the value to INFO, DEBUG or TRACE
Save the file
Restart the node service:
Last updated