Overview
This article describes the procedure to enable and disable debug logging for Phoenix (Windows and Linux) CloudCache. Ensure there are no backup or restore jobs scheduled to run from CloudCache while performing the below steps. It is mandatory to cancel all jobs that are pointed to CloudCache for any tasks.
Enable debug logging for a Windows CloudCache
Open Services console(services.msc) and stop Agent Client Service.
Agent Version 4.x.x: Hybrid Workloads Agent Client Service.
Agent Version 6.x.x: Druva-EnterpriseWorkloads Service
Open Task Manager and kill all Druva or Phoenix related processes.
Take a backup of the Configuration File
Agent Version 4.x.x: C:\ProgramData\PhoenixCloudCache\PhoenixCloudCache.cfg
Agent Version 6.x.x: C:\ProgramData\Druva\EnterpriseWorkloads\Config.yaml
Open the file in notepad and change the debug value from 0 to 9
Agent Version 4.x.x: change the value from DEBUGLEVEL = 0 to DEBUGLEVEL = 9
Agent Version 6.x.x: change the value from debug_level: 0 to debug_level: 9
Save the changes.
Then again Open Services console(services.msc) and start Agent Client Service.
Agent Version 4.x.x: Hybrid Workloads Agent Client Service.
Agent Version 6.x.x: Druva-EnterpriseWorkloads Service
Initiate the backup or the restore job.
Disable debug logging for a Windows CloudCache
Open Services console(services.msc) and stop Agent Client Service.
Agent Version 4.x.x: Hybrid Workloads Agent Client Service.
Agent Version 6.x.x: Druva-EnterpriseWorkloads Service
Open Task Manager and kill all Druva or Phoenix related processes.
Take a backup of the Configuration File
Agent Version 4.x.x: C:\ProgramData\PhoenixCloudCache\PhoenixCloudCache.cfg
Agent Version 6.x.x: C:\ProgramData\Druva\EnterpriseWorkloads\Config.yaml
Open the file in notepad and change the debug value from 9 to 0
Agent Version 4.x.x: change the value from DEBUGLEVEL=9 to DEBUGLEVEL=0
Agent Version 6.x.x: change the value from debug_level:9 to debug_level:0
Save the changes.
Then again Open Services console(services.msc) and start Agent Client Service.
Agent Version 4.x.x: Hybrid Workloads Agent Client Service.
Agent Version 6.x.x: Druva-EnterpriseWorkloads Service
Initiate the backup or the restore job.
Enable debug logging for a Linux CloudCache
Open the terminal and stop Agent Client Service.
Agent Version 4.x.x: /etc/init.d/PhoenixCacheServer stop
Agent Version 6.x.x: service Druva-EnterpriseWorkloads stop
Verify if any Druva or Phoenix related processes.
Agent Version 4.x.x: ps -ef| grep -i PhoenixCacheServer
Agent Version 6.x.x: ps -ef | grep -i EnterpriseWorkloads
If any process is still found running, kill the process with the following command:
Kill -9 <process id>
Take a backup of the Configuration File
Agent Version 4.x.x: /etc/PhoenixCloudCache/PhoenixCloudCache.cfg
Agent Version 6.x.x: /etc/Druva/EnterpriseWorkloads/Config.yaml
Open the file in VI editor and change the debug value from 0 to 9
Agent Version 4.x.x: change the value from DEBUGLEVEL = 0 to DEBUGLEVEL = 9
Agent Version 6.x.x: change the value from debug_level: 0 to debug_level: 9
Save the changes.
Then again Open the terminal and start Agent Client Service.
Agent Version 4.x.x: /etc/init.d/PhoenixCacheServer start
Agent Version 6.x.x: service Druva-EnterpriseWorkloads start
Initiate the backup or the restore job.
Disable debug logging for a Linux CloudCache
Open the terminal and stop Agent Client Service.
Agent Version 4.x.x: /etc/init.d/PhoenixCacheServer stop
Agent Version 6.x.x: service Druva-EnterpriseWorkloads stop
Verify if any Druva or Phoenix related processes.
Agent Version 4.x.x: ps -ef| grep -i PhoenixCacheServer
Agent Version 6.x.x: ps -ef | grep -i EnterpriseWorkloads
If any process is still found running, kill the process with the following command:
Kill -9 <process id>
Take a backup of the Configuration File
Agent Version 4.x.x: /etc/PhoenixCloudCache/PhoenixCloudCache.cfg
Agent Version 6.x.x: /etc/Druva/EnterpriseWorkloads/Config.yaml
Open the file in VI editor and change the debug value from 9 to 0
Agent Version 4.x.x: change the value from DEBUGLEVEL = 9 to DEBUGLEVEL = 0
Agent Version 6.x.x: change the value from debug_level: 0 to debug_level: 0
Save the changes.
Then again Open the terminal and start Agent Client Service.
Agent Version 4.x.x: /etc/init.d/PhoenixCacheServer start
Agent Version 6.x.x: service Druva-EnterpriseWorkloads start
Initiate the backup or the restore job.
Collect the Logs from Linux server
After job completes or terminates then collect the below logs and zip in one folder
Logs from server location:
/var/log/Phoenix
/var/log/messages
Failed or Terminated Job Logs from Phoenix Management Console.
Collect the Logs from Windows server
After job completes or terminates then collect the below logs and zip in one folder
Logs from server location:
C:\ProgramData\Phoenix
Windows Application and System event logs in the .evt or .evtx format.
Failed or Terminated Job Logs from Phoenix Management Console.
Upload the Logs
If the zip/log file is below 4.5 MB then you can directly send us by attaching it to the email or uploading via support portal on the case.
Else, Go to https://upload.druva.com/
Enter the case number in the Ticket Number field.
Click Choose File and add the compressed files to upload.
Click Upload.
Notify the support engineer about the logs uploaded through Portal by responding to the ongoing support ticket.