Enabling Debug Mode in Distributed Engine Log Files
You can expand Secret Server logging capability to locate additional information regarding an error or to help with troubleshooting an issue.
Enabling Verbose Debug Log Mode via the User Interface
Configure the log mode in Secret Server by doing the following:
-
Log into Secret Server.
-
Search for Distributed Engine. The Distributed Engine page loads.
-
Select a relevant Site from the list and expand it to see each Distributed Engine it has.
-
On the engine you want within that site listing, hover over its name, a 3-dot hidden menu appears on the far right. Click on it.
-
From the drop-down options, select Show Settings. The Engine Settings pop-up appears, example:
-
Toggle the Log Level setting so that it is now set to Verbose.
-
Click OK to save your changes.
Downloading Distributed Engine Logs (Cloud / On-Prem)
Downloading the Distributed Engine Log (Cloud)
-
Log into Secret Server.
-
Search for Distributed Engine. The Distributed Engine page loads.
-
Select a relevant Site from the list and expand it to see each Distributed Engine it has.
-
On the engine you want within that Site listing, hover over its name, a 3-dot hidden menu appears on the far right. Click on it.
-
From the drop-down options in the menu, select Download Log.
-
A download pop-up will automatically appear listing the file name, and location options for where you can save the file.
Example file name:
engine-QA-CLOUD-DE01.gamma.thycotic.com -
Set the local folder location to:
C:\Program Files\Thycotic Software Ltd\Distributed Engine\log -
Click Save to download your log file.
Downloading the Distributed Engine Log (On-Premises)
-
Log into Secret Server.
-
Navigate to Settings.
-
Select Diagnostics and choose Export Logs.
-
Click Collect to trigger collection.
-
Once completed, select Download.
-
Choose the following local folder location:
C:\Program Files\Thycotic Software Ltd\Distributed Engine\log, and save your log file.
Enabling Logging Manually on the DE Server
How to enable DEBUG logging mode manually:
-
Log in as an administrator on the Distributed Engine server.
-
Navigate to the
C:\Program Files\Thycotic Software Ltd\Distributed Enginedirectory. -
Locate the
Thycotic.DistributedEngine.Service.exe.configfile. -
Open the file in a text editor.
-
Use Find (Ctrl + F) and search for
log4net, which is usually at the top. -
Locate all entries that contain
INFO. -
Replace each instance of
INFOwithDEBUG. -
Restart the Thycotic Distributed Engine service to apply the log configuration change.
After DEBUG mode is enabled in the system log, you can reproduce an issue, investigate an error, or send the updated logs in with your support case.
Enabling Verbose Logging Mode Manually on the DE Server
On occasion, you may be instructed to enable the VERBOSE mode to capture extra details for troubleshooting. Do this by using the same procedure as shown in the previous section, but replace INFO or DEBUG with VERBOSE instead.
VERBOSE mode will create very detailed log information with large numbers of log files that can accumulate and quickly consume available resources on the machine. Therefore, you should only enable it during the troubleshooting process and immediately turn it off afterward in order to prevent performance issues.