VanDyke Software

Tips

Index

How to Configure Trace Options and Debug Logging in SecureCRT®

SecureCRT can be configured to display and log debugging information in order to help troubleshoot connection or authentication issues.

These steps are also demonstrated in the YouTube video, Trace Options Debug Logging in SecureCRT.

Here are the steps for configuring trace options and debug logging:

  1. Launch SecureCRT, open SecureCRT's main File menu, and then select the Trace Options menu item.
  2. Screenshot showing the Trace Options menu item
  3. Open the File menu again and select Log Session.
  4. Screenshot showing File menu Log Session menu
  5. When the Save As dialog appears, specify a path and name for the log file to which SecureCRT should write. Select your Desktop folder or another folder of your choice and a name for the log file, such as SCRT_Log.txt.
    Screenshot showing the process of saving the new log file using Save As
    For example, if you're on Windows:

    %USERPROFILE%\Desktop\SCRT_Log.txt

    For example, if you're on macOS or Ubuntu:

    ~\Desktop\SCRT_Log.txt

    Note: If the Save As dialog does not appear for you, it means that your Default session has a value already specified in the Log file name entry box. In this case, refer to the value of the Log file name setting in the Log File category of the Default session (Options / Configure / Default Session...) to know where to find the resulting log file.

    If you click on the File menu again, you should see a checkmark to the side of both the Log Session and Trace Options menu items, indicating these options are currently active.
  6. Screenshot showing the File menu with both Log Session and Trace Options selected
  7. Enable packet-level logging and timestamps (optional or if requested by VanDyke Software technical support).
    1. Navigate to the Log File category of the Session Options dialog before attempting to establish any connections in the SecureCRT application.
      1. If establishing an ad hoc connection (from SecureCRT's Quick Connect dialog, for example), choose Options / Configure / Default Session...
      2. If establishing a connection via a saved session, right-click the saved session entry in SecureCRT's Session Manager and choose Properties.
    2. Enable the Timestamp each line option and increase the Trace level option to 9.
    3. Screenshot showing Session Options menu with Timestamp each line selected and Trace level set to 9
    4. Press the OK button.

      Note: If you are editing the Default session, you'll be prompted to apply these changes to the Default session only or to all existing sessions. Choose Change Default session only.
      Screenshot of Apply default session changes with Change Default session only selected
  8. Attempt the connection. Debug information should now be displayed in the terminal window and, with logging enabled, the information will also be written to the log file specified earlier.
Screenshot showing the SecureCRT terminal window and log file side by side

VanDyke Software uses cookies to give you the best online experience. Before continuing to use this site, please confirm that you agree to our use of cookies. Please see our Cookie Usage for details.