Trustwave SpiderLabs Exposes Unique Cybersecurity Threats in the Public Sector. Learn More

Trustwave SpiderLabs Exposes Unique Cybersecurity Threats in the Public Sector. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

HOWTO: How to setup and gather debug logs

Expand / Collapse


This article applies to:

  • SWG 11.x
  • SWG 10.x

Question:

  • How do I setup an SWG into debug mode?

Procedure:

When trouble shooting an issue, there might be a need to gather extended logs from the SWG. By default these “debug” logs are not turned on. Follow the instructions below to turn on Debug logs and then reproduce the issue that you are seeing. 

  • Log into the Management console and go to Administration -> System Settings -> Debug log. 
  • Set the debug log level to 1 (full trace). Save and commit. 

Now you will want to reproduce the issue by surfing to the site that is exhibiting the issue while going through the SWG proxy. 

Once the issue is reproduced, go back into the GUI and set the debug log level back to 6 (fatal errors only), then you will need to immediately save the support logs by going to the limited shell and type the command save_support_logs. To collect the support logs, please see the following KB article

Note:

*It’s very important that the logs are saved directly after the issue is reproduced. While in debug mode the logging profile is greatly increased so that they will record all data that goes through the system. Since this is the case, the logs on the system will rotate out very fast, if too much time is given between the issue and when the logs are gathered, the log containing the issue could rotate out and the data that is needed will be lost


To contact Trustwave about this article or to request support:


Rate this Article:
     

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.