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

This article applies to:

  • Product edition: Phoenix

Overview

This article describes the procedure to enable and disable debug logging for Phoenix SQL Server.

Enable the Debug Logging on Server:

  1. Open Services console(services.msc) and stop Agent Client Service.
    ​Agent Version 6.x.x: Hybrid Workloads Agent Client Service.
    ​Agent Version 7.x.x: Druva-EnterpriseWorkloads Service

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

  3. Take a backup of the Configuration File
    ​Agent Version 6.x.x: C:\ProgramData\Phoenix\FS\Phoenix.cfg
    Agent Version 7.x.x: C:\ProgramData\Druva\EnterpriseWorkloads\Config.yaml

  4. Open the file in notepad and change the debug value from 0 to 9
    Agent Version 6.x.x: change the value from DEBUGLEVEL = 0 to DEBUGLEVEL = 9
    Agent Version 7.x.x: change the value from debug_level: 0 to debug_level: 9

  5. Save the changes.

  6. Then again Open Services console(services.msc) and start Agent Client Service.

    Agent Version 6.x.x: Hybrid Workloads Agent Client Service.

    Agent Version 7.x.x: Druva-EnterpriseWorkloads Service

  7. Initiate the backup or the restore job.

Disable the Debug Logging on Server:

  1. Open Services console(services.msc) and stop Agent Client Service.
    ​Agent Version 6.x.x: Hybrid Workloads Agent Client Service.
    ​Agent Version 7.x.x: Druva-EnterpriseWorkloads Service

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

  3. Take a backup of the Configuration File
    ​Agent Version 6.x.x: C:\ProgramData\Phoenix\FS\Phoenix.cfg
    Agent Version 7.x.x: C:\ProgramData\Druva\EnterpriseWorkloads\Config.yaml

  4. Open the file in notepad and change the debug value from 9 to 0
    Agent Version 6.x.x: change the value from DEBUGLEVEL = 9 to DEBUGLEVEL = 0
    Agent Version 7.x.x: change the value from debug_level: 0 to debug_level: 0

  5. Save the changes.

  6. Then again Open Services console(services.msc) and start Agent Client Service.

    Agent Version 6.x.x: Hybrid Workloads Agent Client Service.

    Agent Version 7.x.x: Druva-EnterpriseWorkloads Service

  7. Initiate the backup or the restore job.

See also

Did this answer your question?