How to change log level to debugging mode

How to change log level to debugging mode

logs are used to hunt issues and crashes and get a clear understanding of system behaviour.
Logs enables you to analyse issues with ease.
SafeSquid provide such logs which are locate at /var/log/safesquid/native/safesquid.log and /var/log/safesquid/extended/extended.log
Respective logs while help in your troubleshooting.
By default, safesquid native logs does not provide comprehensive information.
Using safesquid’s debug mode, native log prints comprehensive details.
Below is an example of logs which is written in default mode.
[Output of find client id.sh with LOG_LEVEL set to everything but not debugging]
showing Output of find client id.sh with LOG_LEVEL set to everything but not debugging
ushowing the native logs tab in safesquid interface
You can follow below steps to change LOG_LEVEL from default to debug.

Access your safesquid interface.

showing the dashboard of safesquid interface

Click on support which is at top right of the screen.

clicking on support in the top right corner

Select startup params

selecting the startup params in the support

Click on edit icon

click on edit icon
clicking on the symbol in front of the LOG_LEVEL

Click on the symbol in front of LOG_LEVEL

clicking on the symbol in front of the LOG_LEVEL

Copy debugging set number.

copying the debugging set number
pasting the debugging set number in LOG_LEVEL

Paste inside LOG_LEVEL and Click on the tick mark

pasting the number and clicking on tick mark

Now click “Restart” to restart SafeSquid services to apply changes.

clicking on restart to restart SafeSquid services to apply changes.

Click on submit

clicking on submit
safesquid service restarted message
Log will be written in debugging mode.
find_client_id.sh output will have complete connection details.
find_client_id.sh output will have complete connection details
showing native logs tab with complete details


    • Related Articles

    • How to enforce YouTube restricted mode

      Overview YouTube has countless hours of entertainment, videos, and TV shows to keep you and your network users entertained. Apart from all these some content is inappropriate (like pornography and potentially offensive content) for some users. Most ...
    • Facebook Read Only Mode

      Overview Facebook is a social networking website that allows users to interact with other users in a multimedia environment on the Web. Facebook users can install and use applications to enhance their experience. Many organizations want to allow ...
    • Analyze The SafeSquid Logs

      Overview Logs provide a timeline of events for the Linux operating system, applications and system, and are very useful and valuable troubleshooting tool when you encounter any problem. When any issue/problem occurs then system administrator will ...
    • Standard Installation of SafeSquid using SAB in a Virtual Machine with DHCP

      Standard Installation The Standard Installation Mode is recommended, and the setup uses mostly pre-configured sub-choices. Select Standard install and continue. Network Autoconfigure DHCP Press Yes If you want to use your network DHCP to ...
    • How To

      Overview This collection of How To articles provides a step-by-step guide to implement SafeSquid, and optimally use its various features. Install SafeSquid Secure Web Gateway You can setup your secure web gateway using different installation ...