How to Enable vPlus DEBUG Mode
Quite often, support will ask for debug logs for more in-depth troubleshooting. In order to do that, follow the steps below.
vPlus Node
-
Edit
/opt/vprotect/log4j2-node.xmlchangeINFOtoDEBUGin<Property name="logLevel">...</Property>tag -
Restart vPlus-node service:
systemctl restart vprotect-node -
Proceed with operations that need to be logged.
-
Then collect logs from
/opt/vprotect/logs/<NODE_NAME>directory.
vPlus Server
-
Edit
/opt/vprotect/log4j2-server.xmlchangeINFOtoDEBUGin<Root level="...">tag -
Restart vPlus-server service:
systemctl restart vprotect-server -
Proceed with operations that need to be logged.
-
Then collect logs from
/opt/vprotect/logs/apiand/opt/vprotect/logs/appserverdirectories.
vPlus Cloud Agent
-
Edit
/opt/vprotect/cloudagent/AgentConfig.jsonfile (on the node system) and add below line to the “logs” section:"level": "DEBUG" -
The file should look like that, after the changes:
{"agent": {"logs": {"path": "../logs/cloudagent","level": "DEBUG"}},"server": {"address": "localhost:8383"}} -
Restart vPlus-node service:
systemctl restart vprotect-node -
Proceed with operations that need to be logged.
-
Then collect logs from
/opt/vprotect/logs/cloudagentdirectory.
Tape manager
-
Edit
/opt/vprotect/config/application.propertiesfile on the host where tape manager is installed. Changequarkus.log.levelparameter toDEBUG:quarkus.log.level=DEBUG -
The file should look like that, after the changes:
#Loggerquarkus.log.level=DEBUGquarkus.log.min-level=DEBUGquarkus.log.file.rotation.max-file-size=5Mquarkus.log.file.rotation.max-backup-index=10quarkus.log.file.rotation.file-suffix=.yyyy-MM-dd -
Restart sbr-tape-manager service:
systemctl restart sbr-tape-manager -
You can find logs in
/opt/vprotect/logs/tmdirectory.