How to Collect Client VPN Logs for NetScaler Gateway

NetScaler 10.5 (Newer versions skip to “Netscaler Version 11.1 or Newer” below)

Enable Debug Mode to Increase VPN Logging Level

To enable/increase VPN logging level on NetScaler Gateway appliance, run the following command from the command line interface of the appliance:

set vpn parameter clientdebug DEBUG

You can also enable this option from the Graphical User Interface (GUI) at the NetScaler Gateway global level or VPN Session Profile level.

Select Client Experience > Advanced > General Tab, and for Client Debug specify debug, as shown in the following screen shot:

User-added image

Collect VPN Logs

To collect VPN logs from Windows XP, Windows Vista, Windows 7 or Windows 8, complete the following procedure:

  1. Enable DEBUG mode for VPN logs as described in the preceding procedure.
  2. Reproduce the VPN issue.
  3. To collect logs on the client computer, run: C:Program FilesCitrixSecure Access ClientnsclientCollect.exe c:logs.zip
User-added image

Note: You can store and name the log file (c:logs.zip) anything you want as long as it has a .zip extension.

A window as shown in the following screen shot appears for a few seconds to collect logs:

User-added image

Extract the contents of the C:logs.zip file and review the log files.

Netscaler Version 11.1 or Newer

Enable Debug Mode to Increase VPN Logging Level

  1. Ensure the Session Profile allows changing the logging level: Select the Session Profile in question > Client Experience > Advanced > General Tab, and for Allow Users to Change Log Levels ensure the left checkbox is Checked, as shown in the following screen shot. If this was not checked, then you must change the setting first before duplicating the issue.

    User-added image

Collect VPN Logs

  1. Right click on the Receiver icon and go to Advance Preferences:

    User-added image
  2. Right click on Netscaler Gateway Settings and hit open:

    User-added image
  3. Go to Configuration and enable debug logging and hit save. If this was not checked, then you must change the setting first before duplicating the issue.

    User-added image
  4. Now Connect to the VPN and duplicate the issue you are facing.
  5. Then go to logging and hit on collect log files and it will generate the VPN log file and save it on client machine’s desktop:

    User-added image
  6. Now generate a NetScaler support file.

Related:

  • No Related Posts

Leave a Reply