Overview
The Druva Support team might request you to enable CDEBUG logging to capture stack trace information. A CDEBUG stack trace is a report of the active stack frames at a certain point in time during the execution of a program.
Based on the OS, perform the following steps to enable CDEBUG logging.
Windows
Check if the backup is already running for the affected user, then continue with step 2, else initiate the backup for one of the client machine facing issue.
Create CDEBUG folder on the C: drive.
Check the root of C: drive to ensure that stack dumps are getting created. The file nomenclature will be "<PID>stack.txt".
Delete the CDEBUG folder after 3 minutes of creating the CDEBUG folder.
Open CMD and run the following command to get the process ids of all inSync processes:
βtasklist | find "inSync" > tasklist.txt
Collect the tasklist.txt and all the <PID>stack.txt files and share them with Druva Support.
Once the CDEBUG folder is created, the additional debug log files will get created in the following folder on the user's device -
π Note
βC\ProgramData\Druva\inSync4\Users\<username>\logs
And not in the C:\CDEBUG folder.
The CDEBUG folder is to enable debug logs so that additional logs can get created.
Linux
Create the CDEBUG directory using the following command
βmkdir /tmp/CDEBUG
Modify the permission of the CDEBUG directory as follows
βchmod 775 /tmp/CDEBUG
Check the /tmp directory to ensure that stack dumps are getting created. The file nomenclature will be "<PID>stack.txt".
Delete the CDEBUG folder after 3 minutes of creating the CDEBUG folder.
Check the process id's for all the inSync processes by using the following command
βps aux | grep inSync | grep -v "grep" > ps.log
Restart the services.
Collect the tasklist.txt, ps.log & all the <PID>stack.txt files and share with Druva Support.
Once the CDEBUG folder is created, the additional debug log files will get created in the following folder on the user's device -
π Note
β/home/<username>/.inSync/logs
MAC
Create a new folder named CDEBUG on the root of the following directory
/Users/<username>/Library/Application Support/inSync
Check the root of inSync folder to ensure that stack dumps are getting created. The file nomenclature will be "<PID>stack.txt".
Delete the CDEBUG folder after 3 minutes of creating the CDEBUG folder.
Collect all the <PID>stack.txt files and share with Druva Support.
Once the CDEBUG folder is created, the additional debug log files will get created in the following folder on the user's device -
/Users/<username>/Library/Application Support/inSync/logs
π Note
βEnsure you delete the CBEDUG folder after collecting the generated stack files.