Skip to main content

How can we help you?

Druva Documentation

How to enable or disable debug logging for Edge Server

This article applies to:

  • Product edition: inSync On-Premise

Overview

This article provides the steps to enable and disable debug logging for Storage Node on Windows and Linux.

Enable debug logging for Storage Node

On Windows server:

  1. Open the Services console and stop Druva inSync Edge Server service.
  2. Open Task Manager and kill all Druva related processes.
  3. Back up  inSyncEdgeServer.cfg from C:\ProgramData\Druva\inSyncEdgeServer.
  4. Open inSyncEdgeServer.cfg file using Notepad.
  5. Look for DEBUGLEVEL flag and change the value from DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
  6. Save the changes.
  7. Start Druva inSync Edge Server Service.

On Linux server:

  1. Take a Putty session of the server with root privileges and Stop the Edge server service using the command:

    /etc/init.d/inSyncEdgeAll stop

    If you are running CentOS 7.0 or later then run the below command:

    systemctl stop inSyncEdgeAll.service
     
  2. Verify if any inSync processes are still running. If any process is still found running, kill the process with the following command:

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

     
  3. Change directory to /etc/inSyncEdgeServer and take backup of inSyncEdgeServer.cfg file.
  4. Open inSyncEdgeServer.cfg in VI editor and change value of DEBUGLEVEL = 0 to DEBUGLEVEL = 9.
  5. Save and Quit the changes.
  6. Start the Edge server service.

    /etc/init.d/inSyncEdgeAll start

    On CentOS 7.0 or later, run the below command:

    systemctl start inSyncEdgeAll.service

Disable debug on inSync Edge Server

On Windows server:

  1. Open the Services console and stop Druva inSync Edge Server service.
  2. Open Task Manager and kill all Druva related processes.
  3. Back up inSyncEdgeServer.cfg from C:\ProgramData\Druva\inSyncEdgeServer.
  4. Open inSyncEdgeServer.cfg file using Notepad.
  5. Look for DEBUGLEVEL flag and change the value from DEBUGLEVEL = 9 to DEBUGLEVEL = 0.
  6. Save the changes.
  7. Start Druva inSync Edge Server service.

On Linux server:

  1. Take a Putty session of the server with root privileges and stop the Edge server service using the command:

    /etc/init.d/inSyncEdgeAll stop

    If you are running CentOS 7.0 or later then run the below command:

    systemctl stop inSyncEdgeAll.service
     
  2. Verify if any inSync processes are still running. If any process is still found running, kill the process with the following command:

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

     
  3. Change directory to /etc/inSyncEdgeServer and take backup of inSyncEdgeServer.cfg file.
  4. Open inSyncEdgeServer.cfg in VI editor and change value of DEBUGLEVEL = 9 back to DEBUGLEVEL = 0.
  5. Save and Quit the changes.
  6. Start the Edge server service.

    /etc/init.d/inSyncEdgeAll start

    If you are running CentOS 7.0 or later then run the below command:

    systemctl start inSyncEdgeAll.service