How to enable debug logging for inSync client?
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
- Stop the Druva Client service.
- Kill all the inSync processes from the Task Manager.
- Do one of the following:
- For inSync client 5.5 and below, browse to the C:\inSync4\users\<username>\inSync.cfg file.
- For inSync client 5.8 and above, browse to the C:\ProgramData\Druva\inSync4\users\<username>inSync.cfg file.
- Set the DEBUGLEVEL=9
- Save the file.
- Start the Druva client services.
Mac
- Open the Terminal
- killall inSync
- Browse to the /Users/<username>/Library/Application Support/inSync/inSync.cfg directory.
- Open the configuration file in a notepad editor.
- Set the DEBUGLEVEL=9
- Save the file
- Launch the Druva application
Linux
- You can also use the same command as Mac killall inSync to stop the druva client daemon.
- Browse to the /home/<username>/.inSync directory and open the inSync.cfg file.
- Set the DEBUGLEVEL=9
- Save the file.
- Launch the Druva application.
Note: Ensure you take a backup of the inSync.cfg file before making any changes. This is an important file as it contains all the client related configuration and could cause issues if corrupt.