Skip to main content
Druva Documentation

How to enable or disable debug logging for Phoenix NAS proxy

This article applies to:

  • OS: Windows and Linux
  • Product edition: Phoenix

Overview

This article describes the procedure to enable and disable debug logging for Phoenix NAS proxy.

Enable and disable debug logging for a NAS proxy

Enable on Windows server

  1. Open Services console and stop Druva Phoenix Agent Client Service.
  2. Open Task Manager and kill all Druva or Phoenix related processes.
  3. Take a backup of Phoenix.cfg from  C:\ProgramData\Phoenix\NAS
  4. Open Phoenix.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 Phoenix Agent Client Service and initiate the backup/restore job.

Disable on Windows server

  1.  Open Services console and stop Druva Phoenix Agent Client Service.
  2. Open Task Manager and kill all Druva or Phoenix related processes.
  3. Take a backup of Phoenix.cfg from  C:\ProgramData\Phoenix\NAS.
  4. Open Phoenix.cfg file in Notepad.
  5. Look for DEBUGLEVEL flag and change the value from DEBUGLEVEL = 9 to DEBUGLEVEL = 0. 
  6. Save the changes.
  7. Start Phoenix Agent Client Service and initiate the backup/restore job.

After the Enable/Disable completes or terminates, zip and upload the following files to the case:

  • Zip of C:\ProgramData\Phoenix\logs folder.

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

  • Job logs of the failed or terminated job.

Enable on Linux server

  1. Open terminal with Admin rights and Stop the Phoenix Agent service using the command:

    /etc/init.d/Phoenix stop
  2. 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>

     
  3. Browse to /etc/Phoenix/NAS/Phoenix.cfg and take backup of Phoenix.cfg.
  4. Open Phoenix.cfg in VI editor and change value of DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
  5. Save-Quit the changes.
  6. Start Phoenix Agent Client Service and initiate a backup/restore job.

    /etc/init.d/Phoenix start

Disable on Linux server

  1. Open terminal with Admin rights and Stop the Phoenix Agent service using the command:

    /etc/init.d/Phoenix stop
  2. 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>
  3. Browse to /etc/Phoenix/NAS/Phoenix.cfg and take backup of Phoenix.cfg.
  4. Open Phoenix.cfg in VI editor and change value of DEBUGLEVEL = 9 back to DEBUGLEVEL = 0.
  5. Save-Quit the changes.
  6. Start Phoenix Agent Client Service and initiate a backup/restore job.

    /etc/init.d/Phoenix start

Upload files

After the job completes or terminates, zip and upload following files to the case:

  • Zip of /var/log/Phoenix folder.
  • System logs from /var/log/messages
  • Job logs of the failed or terminated job.