TorGuard Desktop Client Connection Logs - Troubleshooting Guide

Last updated: September 11, 2025
Table of Contents

📋 What are Connection Logs?

Connection logs are detailed records of your VPN connection attempts, including server responses, authentication steps, and any errors encountered. These logs are essential for our support team to diagnose and resolve connection issues.

Why Enable Debug Logs?

🔍 Troubleshooting

Identify connection failures, authentication issues, or protocol problems

⚡ Performance Issues

Diagnose slow speeds, frequent disconnections, or timeout errors

🛠️ Configuration Errors

Find incorrect settings, firewall blocks, or DNS resolution problems

📊 Network Analysis

Understand routing issues, MTU problems, or ISP interference

What Information is Logged?

🔒 Privacy Notice

Connection logs contain technical information only:

  • ✓ Connection timestamps and server IPs
  • ✓ Protocol negotiations and handshake data
  • ✓ Error messages and status codes
  • ✓ Network adapter information
  • ✗ NO browsing history or traffic content
  • ✗ NO personal data beyond username

Step-by-Step Guide

1Open TorGuard Settings

Launch the TorGuard Desktop Client and click the settings cog icon in the top-right corner:

TorGuard Settings Button

Click the settings gear icon

2Navigate to Debug Tab

In the settings window, click on the "Debug" tab:

Debug Tab

Select the Debug tab from settings

3Enable File Logging

Change the Debug dropdown from "Disabled" to "File" and click Save:

Enable File Logging

Select "File" from the dropdown menu

⚠️ Restart Required

You must restart the TorGuard client for debug logging to take effect. Click "Yes" when prompted:

Restart Prompt

Confirm the restart to enable logging

4Reproduce the Issue

After restarting:

  1. Attempt to connect to VPN
  2. Try to reproduce the issue you're experiencing
  3. Let it run for at least 30 seconds
  4. If connection fails, wait for the full timeout

5Access Debug Logs

Return to Settings → Debug tab and click "Show debug":

Show Debug Button

Click "Show debug" to view logs

6Copy Logs to Clipboard

In the debug window, click "Copy to Clipboard" to copy all log data:

Copy Logs

Use "Copy to Clipboard" to capture all logs

Log File Locations

Windows
macOS
Linux

Windows Log Locations

Debug logs are stored at:

C:\Users\[Username]\AppData\Roaming\TorGuard\debug.log

OpenVPN logs:

C:\Users\[Username]\AppData\Roaming\TorGuard\logs\

To quickly access:

  1. Press Win + R
  2. Type %APPDATA%\TorGuard
  3. Press Enter

macOS Log Locations

Debug logs are stored at:

~/Library/Application Support/TorGuard/debug.log

OpenVPN logs:

~/Library/Application Support/TorGuard/logs/

To quickly access:

  1. Open Finder
  2. Press Cmd + Shift + G
  3. Type ~/Library/Application Support/TorGuard
  4. Press Enter

Linux Log Locations

Debug logs are stored at:

~/.config/TorGuard/debug.log

OpenVPN logs:

~/.config/TorGuard/logs/

To quickly access:

cd ~/.config/TorGuard
cat debug.log

Understanding Log Contents

Example log output:
2024-01-15 10:23:45 - Starting TorGuard v4.8.5
2024-01-15 10:23:45 - OS: Windows 10 (10.0.19045)
2024-01-15 10:23:46 - TAP adapter found: {GUID}
2024-01-15 10:23:47 - Connecting to USA-NEW-YORK
2024-01-15 10:23:47 - Protocol: OpenVPN UDP
2024-01-15 10:23:48 - AUTH: Username/password authentication
2024-01-15 10:23:49 - TLS handshake completed
2024-01-15 10:23:50 - Connected successfully
2024-01-15 10:23:50 - Local IP: 10.9.0.123
2024-01-15 10:23:50 - Public IP: 23.xxx.xxx.xxx

Common Log Entries Explained

🔴 "AUTH_FAILED"

Invalid username/password or expired account

🟡 "TLS handshake failed"

Certificate issues or protocol mismatch

🔵 "Connection timeout"

Server unreachable, firewall blocking, or ISP interference

🟢 "Initialization Sequence Completed"

Successful connection established

⚪ "RESOLVE: Cannot resolve host"

DNS issues or incorrect server address

Sharing Logs with Support

✅ Best Practices

  1. Include Full Logs: Don't trim or edit the logs
  2. Describe the Issue: Explain what you were trying to do
  3. Mention Error Messages: Include any popup errors
  4. Provide Context: OS version, network type, ISP
  5. Use Secure Methods: Only share via official support channels

How to Submit Logs

  1. Copy logs to clipboard (Step 6 above)
  2. Visit TorGuard Support
  3. Create a new ticket
  4. Paste logs in the message or attach as .txt file
  5. Submit ticket and await response

Privacy & Security

🔐 Log Security

  • Logs may contain your TorGuard username
  • Server IPs and connection times are logged
  • No traffic content or browsing data is recorded
  • Delete old log files periodically for privacy
  • Only share logs with official TorGuard support

Disabling Debug Logs

After troubleshooting is complete:

  1. Go to Settings → Debug tab
  2. Change dropdown back to "Disabled"
  3. Click Save and restart client
  4. Delete old log files if desired

Advanced Troubleshooting

Verbose Logging

For deeper issues, support may request verbose logs:

  • Add verb 4 to custom OpenVPN config
  • Increases log detail level
  • May significantly increase log file size

Real-time Log Viewing

To watch logs in real-time on Windows:

Get-Content "$env:APPDATA\TorGuard\debug.log" -Wait -Tail 50

On macOS/Linux:

tail -f ~/.config/TorGuard/debug.log

Common Issues Requiring Logs

  • Connection timeouts or failures
  • Authentication errors
  • Slow connection speeds
  • Frequent disconnections
  • Protocol-specific issues
  • DNS resolution problems
  • Firewall or antivirus conflicts

Need Help?

If you're having trouble generating or understanding logs:

Contact Support

Our team will guide you through the logging process

Was this article helpful?

Share:

Ready to Get Help?

Our support team is available 24/7 to assist you with any questions.