Skip to main content

 

Druva Documentation

How to enable debug logging on inSync server

Overview

While troubleshooting a scenario with inSync client,  the Druva support team might request to enable debug logging to capture verbose information. A debug log can record database operations, system processes, and errors that occur when executing a backup/restore. Based on the OS, following are the steps to enable debug logging.

Windows

Perform the following steps to enable debug logging on Windows OS

  1. Stop the inSync services on the inSync server.

inSync 5.5

  • Druva inSync Master Config Server
  • Druva inSync Master Control Panel
  • Druva inSync Master Sync Server

inSync 5.3.x

  • Druva inSync Share Control Panel
  • Druva inSync Server Control Panel
  • Druva inSync Server
     
  1. Edit the inSync Server configuration file "inSyncServer.cfg"  located under C:\Programdata\Druva\inSyncCloud\inSyncServer4

 Note: For inSync server 5.3.x and below the “ inSyncServer.cfg” is located under C:\inSyncServer4\ directory. 

  1. Modify the value for the following entry: DEBUGLEVEL = 9
  2. Save the configuration file.
  3. Start the Druva inSync server services.

Note: Change the DEBUGLEVEL to 0 again after collecting the debug logs for analysis.

Linux

Perform the following steps to enable debug logging on Linux OS

Note: To perform the following steps log in as a root or type sudo before each of the following command and provide the root password when prompted.

  1. Stop the inSync services on the inSync server using the following command

inSync 5.3.1 and older versions

/etc/init.d/inSyncSrv  stop

inSync 5.4 and above versions

/etc/init.d/inSyncMasterAll stop
 

  1. Query if the inSync server processes are still running using below command
ps -aux | grep -i insync
  1. Once the inSync process is stopped, edit the inSync Server configuration file "inSyncServer.cfg"  located under /etc/inSyncServer for inSync 5.3.1 and older versions. And /etc/inSyncCloud/inSyncServer for inSync 5.4 and above versions.
  1. Modify the value for the following entry: DEBUGLEVEL = 9
  2. Save the configuration file.
  3. Start the Druva inSync server services using the following command

inSync 5.3.1 and older versions

/etc/init.d/inSyncSrv  start

inSync 5.4 and above versions

/etc/init.d/inSyncMasterAll start

Note: Change the DEBUGLEVEL  to 0 again after collecting the debug logs for analysis.

Applies to

 All inSync servers running on Windows and Linux.