Debug information and logs

UnifiedSDK logs

UnifiedSDK logs are stored at the "C:\ProgramData\UnifiedSDK.Service\logs\UnifiedSDK.Service.log"

Protocols logs

Protocol logs can be enabled by StartVpnRequest using EnableTunnelLogging property

// This example shows the launch of the Hydra protocol with enabled logs 
var startVpnRequest = new StartVpnRequest
        {
            Credentials = getCredentialsResponse.Credentials,
            DeviceId = DEVICEID,
            EnableKillSwitch = false,
            EnableTunnelLogging = true,
            VpnNode = getNodesResponse.VpnCountries.FirstOrDefault(),
        };
    
var startVpnResponse = sdk.StartVpn(startVpnRequest);

This type of logs are stored at the:

  • For Hydra protocol "C:\ProgramData\UnifiedSDK.Service\system\logs\hydra.log"

  • For WireGuard protocol C:\Program Files (x86)\%your_app_folder%\Executable\Wireguard\log.bin

Windows EventLogs

Also, some events, such as unexpected service drops, may be stored in Windows EventLogs. This logs can be found in EventViewer, this application can be opened as follows %windir%\system32\eventvwr.msc /s

Logs are stored in Windows Logs\Application source is UnifiedSDK.Service

Memory dumps

More information about memory dumps can be found here.

Last updated