Skip to main content
All CollectionsKnowledge BaseEnterprise WorkloadsHow To - Enterprise Workloads
How to enable or disable debug logging for Phoenix CloudCache
How to enable or disable debug logging for Phoenix CloudCache
Updated over a week ago

This article applies to:

  • OS: Windows

  • Product edition: Phoenix

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

  1. Open Services console and stop Druva Phoenix Cache Server service.

  2. Open Task Manager and kill all Druva or Phoenix related processes.

  3. Take a backup of PhoenixCloudCache.cfg from C:\ProgramData\PhoenixCloudCache

  4. Open PhoenixCloudCache.cfg file in Notepad.

  5. Look for DEBUGLEVEL flag and change the value from DEBUGLEVEL = 0 to DEBUGLEVEL = 9.

  6. Save the changes.

  7. Start Druva Phoenix Cache Server service and initiate the backup/restore job.

Disable debug logging for a Windows CloudCache

Open Services console and stop Druva Phoenix Cache Server service.

  1. Open Task Manager and kill all Druva or Phoenix related processes.

  2. Take a backup of PhoenixCloudCache.cfg from C:\ProgramData\PhoenixCloudCache

  3. Open PhoenixCloudCache.cfg file in Notepad.

  4. Look for DEBUGLEVEL flag and change the value from DEBUGLEVEL = 9 to DEBUGLEVEL = 0.

  5. Save the changes.

  6. Start Druva Phoenix Cache Server service and initiate the backup/restore job.

Enable debug logging for a Linux CloudCache

  1. Open the terminal with administrator rights and stop the Phoenix Agent service using the following command:

/etc/init.d/PhoenixCacheServer stop

  1. Verify if any Phoenix processes are still running. If any process is still found running, kill the process with the following command:

ps -ef| grep -i Phoenix
Kill -9 <process id>

  1. Browse to /etc/PhoenixCloudCache/PhoenixCloudCache.cfg and take backup of the PhoenixCloudCache.cfg file.

  2. Open the Phoenix.cfg file in the VI editor and change the value of DEBUGLEVEL = 0 to DEBUGLEVEL = 9.

  3. Save-Quit the changes.

  4. Start Phoenix Agent Client Service and initiate the backup or the restore job.

/etc/init.d/PhoenixCacheServer start

Disable debug logging for a Linux CloudCache

  1. Open the terminal with the administrator rights and stop the Phoenix Agent service using the following command:

/etc/init.d/PhoenixCacheServer stop

  1. Verify if any Phoenix processes are still running. If any process is still found running, kill the process with the following command:

ps -ef| grep -i Phoenix
Kill -9 <process id>

  1. Browse to /etc/PhoenixCloudCache/PhoenixCloudCache.cfg and take backup of the PhoenixCloudCache.cfg file

  2. Open the PhoenixCloudCache.cfg file in the VI editor and change the value of DEBUGLEVEL = 9 back to DEBUGLEVEL = 0.

  3. Save-Quit the changes.

  4. Start Phoenix Agent Client Service and initiate the backup or the restore job.

/etc/init.d/PhoenixCacheServer start

Collect the Logs from Linux server

After job completes or terminates then collect the below logs and zip in one folder

  1. Logs from server location:

    1. /var/log/Phoenix

    2. /var/log/messages

  2. 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

  1. Logs from server location:

    1. C:\ProgramData\Phoenix

    2. Windows Application and System event logs in the .evt or .evtx format.

  2. 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.

    • 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.

Did this answer your question?