When a user says “the proxy blocked me” or “nothing loads,” logs are how you prove what SafeSquid did. You do not need every log family on day one — start with Detailed logs, then add Native families only for the module you are debugging.
Native logs — Internal diagnostics from the native logger. Each line is timestamped and tagged (for example security:, ldap:, cache:). File: /var/log/safesquid/native/safesquid.log
Detailed logs — One row per client transaction (tab-separated). Includes username, URL, status, filter_name, filtering_reason, profiles, categories, and user groups. Start here for user-facing issues. File: /var/log/safesquid/extended/extended.log
Config logs — Who changed what in the Web UI: section, action, arguments, URL, reason. File: /var/log/safesquid/config/config.log
Performance log — Resource and throughput statistics. File: /var/log/safesquid/performance/performance.log
Syslog — Native messages also go to syslog when running in foreground or when the native logger is unavailable. Init script messages use ident safesquid.init.
Set LOG_LEVEL in /opt/safesquid/startup.ini. It is a bitmask — add family values for more detail.
SECURITY (8388608) — Access, authentication, blocks — essential for auth and perimeter issues
LDAP (4) — Directory lookups and LDAP authentication
PROFILES (67108864) — Access Profiles and profile tags
REQUEST (1), NETWORK (2) — Request flow and connections
WARN (16777216), ERROR (33554432) — Review on every incident
DEBUG (134217728) — Very verbose. Enable only temporarily; default install excludes DEBUG (134217727). Full debug: 268435455.
Other families include HEADER, COOKIE, REDIRECT, REWRITE, CACHE, FORWARD, SSL, CATEGORY, ANTIVIRUS, ICAP, and MODULE. Enable the one that matches filter_name in Detailed logs.
Do not leave full DEBUG enabled in production. It grows disks quickly and makes logs harder to read.
client_id, request_id — correlate lines for one client
client_ip, username, interface
method, url, status, size
filter_name, filtering_reason — which module decided the outcome. This pair is usually the single most useful value on the entry, because it names which section’s configuration to open next instead of leaving you to guess.
Note whether Kerberos / SSO or System authentication is enabled (Authentication).
Watch Native logs for security:, pam:, ldap:. The lines around the failed attempt usually name the specific step that failed. The password cache, the local system check, or the directory bind.
Clear Reports → Password Cache after fixing credentials or PAM.
For live policy visibility on a single request, enable System configuration → Send Debugging Headers To → CLIENT (test networks only). Browser tools show X-SafeSquid-Profiles, categories, user, and module headers. See Debug response headers.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SafeSquid Documentation","description":"Deploy Zero-Trust Web Security — SafeSquid Secure Web Gateway documentation.","colors":{"primary":"#0066CC","light":"#3B82F6","dark":"#0F172A"},"logo":{"light":"https://mintcdn.com/safe-squid-labs-12a0916f/WapkOaLV2w2WE_m9/images/logos/safesquid/safesquid-mark-blue.png?fit=max\u0026auto=format\u0026n=WapkOaLV2w2WE_m9\u0026q=85\u0026s=b7b9c81a4dfce86823f854d9510e5cec","dark":"https://mintcdn.com/safe-squid-labs-12a0916f/PZ5D4OEI8Q1II8co/images/safesquidWhite.png?fit=max\u0026auto=format\u0026n=PZ5D4OEI8Q1II8co\u0026q=85\u0026s=149dccbc6157c7707f7edba211ae87b3","href":"/getting_started/welcome"},"favicon":"https://mintcdn.com/safe-squid-labs-12a0916f/WapkOaLV2w2WE_m9/images/favicon.ico?fit=max\u0026auto=format\u0026n=WapkOaLV2w2WE_m9\u0026q=85\u0026s=7a799a5cc14069284c934d5f83717827","navbar":{"links":[{"href":"/blog","label":"Blog"},{"href":"https://help.safesquid.com/portal/en/community/safesquid-labs","label":"Forum"},{"icon":{"style":"brands","name":"github"},"href":"https://github.com/SafeSquid-Labs","label":""}],"primary":{"type":"button","label":"Get Started","href":"https://key.safesquid.com"}},"footer":{"socials":{"website":"https://www.safesquid.com/","github":"https://github.com/SafeSquid-Labs","x":"https://x.com/safesquid","linkedin":"https://in.linkedin.com/company/safesquid","youtube":"https://www.youtube.com/@securewebgateway"}},"icons":{"library":"fontawesome"},"integrations":{"ga4":{"measurementId":"G-ZVZHSKFGQF"}},"banner":{"content":"[Join our Blue Team for a live layer 7 mitigation workshop](https://meet.safesquid.com)","dismissible":true,"type":"info"},"styling":{"latex":false},"navigation":{"global":{"languages":[{"language":"en","default":true,"href":"/getting_started/welcome"},{"language":"es","href":"/?lang=es"}],"versions":[{"version":"v2026.0312.1923","default":true,"href":"/getting_started/welcome"},{"version":"v2024.0315.1413","href":"/?version=legacy"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"safe-squid-labs-12a0916f","hasAudioNarration":false,"actualSubdomain":"safe-squid-labs-12a0916f","customDomains":["docs.safesquid.com"],"gitSource":{"type":"github","owner":"safesquid-labs","repo":"safesquid-docs","deployBranch":"main","contentDirectory":"public","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ac7bb6e8abd6d065dca7197","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Use Cases","count":86},{"language":"default","tag":"Configuration","count":44},{"language":"default","tag":"Deployment","count":43},{"language":"default","tag":"Architecture","count":24},{"language":"default","tag":"Troubleshooting","count":20},{"language":"default","tag":"Access Restriction","count":17},{"language":"default","tag":"Authentication","count":17},{"language":"default","tag":"Application Setup","count":10},{"language":"default","tag":"Real Time Content Security","count":10},{"language":"default","tag":"Application Ecosystem","count":9}],"searchSettings":{"isFiltersEnabled":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@safesquid.net"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"a:has(>img.nav-logo){flex-shrink:0!important}#sidebar-content li[data-active]>a{color:rgb(22, 25, 29)!important}.dark #sidebar-content li[data-active]>a{background-color:rgb(59, 130, 246)!important;color:rgb(22, 25, 29)!important}"}],"page":{"pagePath":"configuration/start_here/logging","slug":"/configuration/start_here/logging","pageMetadata":{"title":"Logging and troubleshooting","description":"Find which SafeSquid log proves what happened when a user reports a blocked site or a page that will not load.","keywords":["logging troubleshooting","SafeSquid log files","log level","detailed log columns","which log to open"],"href":"/configuration/start_here/logging"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Find which SafeSquid log proves what happened when a user reports a blocked site or a page that will not load.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table,Tip,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`find-answers-with-logging-and-troubleshooting`,children:`Find Answers With Logging and Troubleshooting`}),`\n`,_jsx(_components.p,{children:`When a user says “the proxy blocked me” or “nothing loads,” logs are how you prove what SafeSquid did. You do not need every log family on day one — start with Detailed logs, then add Native families only for the module you are debugging.`}),`\n`,_jsx(Heading,{level:`2`,id:`which-log-should-i-open`,children:`Which log should I open?`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Symptom`}),_jsx(_components.th,{children:`Open first`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`One user or URL blocked or allowed wrongly`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Reports → Detailed logs`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Login / Kerberos / PAM / LDAP`}),_jsxs(_components.td,{children:[`Detailed logs, then Native (`,_jsx(_components.code,{children:`security:`}),`, `,_jsx(_components.code,{children:`ldap:`}),`, `,_jsx(_components.code,{children:`pam:`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`“It worked yesterday”`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Config logs`}),` for who changed policy`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Unsure which profile matched`}),_jsxs(_components.td,{children:[`Detailed logs + `,_jsx(_components.a,{href:`/configuration/start_here/debug_response_headers`,children:`debug headers`}),` on a test client`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`log-families`,children:`Log families`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Native logs`}),` — Internal diagnostics from the native logger. Each line is timestamped and tagged (for example `,_jsx(_components.code,{children:`security:`}),`, `,_jsx(_components.code,{children:`ldap:`}),`, `,_jsx(_components.code,{children:`cache:`}),`). File: `,_jsx(_components.code,{children:`/var/log/safesquid/native/safesquid.log`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Detailed logs`}),` — One row per client transaction (tab-separated). Includes username, URL, status, `,_jsx(_components.strong,{children:`filter_name`}),`, `,_jsx(_components.strong,{children:`filtering_reason`}),`, profiles, categories, and user groups. Start here for user-facing issues. File: `,_jsx(_components.code,{children:`/var/log/safesquid/extended/extended.log`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Config logs`}),` — Who changed what in the Web UI: section, action, arguments, URL, reason. File: `,_jsx(_components.code,{children:`/var/log/safesquid/config/config.log`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Performance log`}),` — Resource and throughput statistics. File: `,_jsx(_components.code,{children:`/var/log/safesquid/performance/performance.log`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Syslog`}),` — Native messages also go to syslog when running in foreground or when the native logger is unavailable. Init script messages use ident `,_jsx(_components.code,{children:`safesquid.init`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`viewing-logs-in-the-web-ui`,children:`Viewing logs in the Web UI`}),`\n`,_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Reports`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Native logs`}),` — live diagnostic tail`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Detailed logs`}),` — search transactions by user, URL, filter, date`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Config logs`}),` — configuration audit trail`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Dashboard / Statistics`}),` — traffic overview`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Active Connections, Password Cache, SSL Certs/Cache`}),` — live state alongside historical logs`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`log-level-native-/-putlog`,children:`Log level (native / putlog)`}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`LOG_LEVEL`}),` in `,_jsx(_components.code,{children:`/opt/safesquid/startup.ini`}),`. It is a bitmask — add family values for more detail.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`SECURITY (8388608)`}),` — Access, authentication, blocks — essential for auth and perimeter issues`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`LDAP (4)`}),` — Directory lookups and LDAP authentication`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`PROFILES (67108864)`}),` — Access Profiles and profile tags`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`REQUEST (1), NETWORK (2)`}),` — Request flow and connections`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`WARN (16777216), ERROR (33554432)`}),` — Review on every incident`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`DEBUG (134217728)`}),` — Very verbose. Enable only temporarily; default install excludes DEBUG (`,_jsx(_components.code,{children:`134217727`}),`). Full debug: `,_jsx(_components.code,{children:`268435455`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Other families include HEADER, COOKIE, REDIRECT, REWRITE, CACHE, FORWARD, SSL, CATEGORY, ANTIVIRUS, ICAP, and MODULE. Enable the one that matches `,_jsx(_components.code,{children:`filter_name`}),` in Detailed logs.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Do not leave full DEBUG enabled in production. It grows disks quickly and makes logs harder to read.`})}),`\n`,_jsx(Heading,{level:`2`,id:`detailed-log-—-key-columns`,children:`Detailed log — key columns`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`client_id`}),`, `,_jsx(_components.code,{children:`request_id`}),` — correlate lines for one client`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`client_ip`}),`, `,_jsx(_components.code,{children:`username`}),`, `,_jsx(_components.code,{children:`interface`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`method`}),`, `,_jsx(_components.code,{children:`url`}),`, `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`size`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`filter_name`}),`, `,_jsx(_components.code,{children:`filtering_reason`}),` — which module decided the outcome. This pair is usually the single most useful value on the entry, because it names which section’s configuration to open next instead of leaving you to guess.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`profiles`}),`, `,_jsx(_components.code,{children:`user_groups`}),`, `,_jsx(_components.code,{children:`categories`}),`, `,_jsx(_components.code,{children:`request_profiles`}),`, `,_jsx(_components.code,{children:`application_signatures`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`bypassed`}),` — whether bypass was active on that request`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsxs(Tip,{children:[_jsx(Heading,{level:`3`,id:`1-—-“i-cannot-browse-at-all”`,children:`1 — “I cannot browse at all”`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Confirm proxy host/port and `,_jsx(_components.a,{href:`/configuration/application_setup/network_settings_and_listeners`,children:`Listen`}),`.`]}),`\n`,_jsx(_components.li,{children:`Search Detailed logs for the client IP. If there are no rows, the request never reached SafeSquid (firewall, wrong proxy, or service down).`}),`\n`,_jsxs(_components.li,{children:[`If rows show access deny, fix `,_jsx(_components.a,{href:`/configuration/application_setup/access_restrictions`,children:`Access restrictions`}),` (subnet, Interface, Default Access Policy).`]}),`\n`]})]}),`\n`,_jsxs(Tip,{children:[_jsx(Heading,{level:`3`,id:`2-—-“only-one-site-is-blocked”`,children:`2 — “Only one site is blocked”`}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Find the URL in Detailed logs.`}),`\n`,_jsxs(_components.li,{children:[`Read `,_jsx(_components.code,{children:`filter_name`}),` and `,_jsx(_components.code,{children:`filtering_reason`}),` (often Access Profiles, redirect, or a scanner).`]}),`\n`,_jsxs(_components.li,{children:[`Check profiles and categories on that row. Adjust the matching `,_jsx(_components.a,{href:`/configuration/restriction_policies/access_profiles`,children:`Access Profiles`}),` entry or enable Trace Entry on the suspect rule.`]}),`\n`]})]}),`\n`,_jsxs(Tip,{children:[_jsx(Heading,{level:`3`,id:`3-—-“login-keeps-asking-for-a-password”`,children:`3 — “Login keeps asking for a password”`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Note whether Kerberos / SSO or System authentication is enabled (`,_jsx(_components.a,{href:`/configuration/start_here/authentication`,children:`Authentication`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`Watch Native logs for `,_jsx(_components.code,{children:`security:`}),`, `,_jsx(_components.code,{children:`pam:`}),`, `,_jsx(_components.code,{children:`ldap:`}),`. The lines around the failed attempt usually name the specific step that failed. The password cache, the local system check, or the directory bind.`]}),`\n`,_jsxs(_components.li,{children:[`Clear `,_jsx(_components.strong,{children:`Reports → Password Cache`}),` after fixing credentials or PAM.`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`rotation-and-remote-copy`,children:`Rotation and remote copy`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`LOG_SIZE_LIMIT`}),` — Max log size before rotation (default `,_jsx(_components.code,{children:`1G`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`PROCESS_OLD_LOGS`}),` — `,_jsx(_components.code,{children:`0`}),` delete, `,_jsx(_components.code,{children:`1`}),` compress, `,_jsx(_components.code,{children:`2`}),` close only (appliance default)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`UDP forwarding`}),` — Optional `,_jsx(_components.code,{children:`NATIVE_UDP_*`}),`, `,_jsx(_components.code,{children:`EXTENDED_UDP_*`}),`, `,_jsx(_components.code,{children:`CONFIG_UDP_*`}),` in startup.ini send copies to a remote collector`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`debug-response-headers`,children:`Debug response headers`}),`\n`,_jsxs(_components.p,{children:[`For live policy visibility on a single request, enable `,_jsx(_components.strong,{children:`System configuration → Send Debugging Headers To → CLIENT`}),` (test networks only). Browser tools show `,_jsx(_components.code,{children:`X-SafeSquid-Profiles`}),`, categories, user, and module headers. See `,_jsx(_components.a,{href:`/configuration/start_here/debug_response_headers`,children:`Debug response headers`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`policy-trace`,children:`Policy trace`}),`\n`,_jsxs(_components.p,{children:[`On a single policy row in the Web UI, enable `,_jsx(_components.strong,{children:`Trace Entry`}),` to log when that entry is evaluated — without turning on global DEBUG.`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting-workflow`,children:`Troubleshooting workflow`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Note time, client IP, username, and URL.`}),`\n`,_jsxs(_components.li,{children:[`Search `,_jsx(_components.strong,{children:`Detailed logs`}),` for `,_jsx(_components.code,{children:`filter_name`}),` and `,_jsx(_components.code,{children:`filtering_reason`}),`.`]}),`\n`,_jsx(_components.li,{children:`Enable the matching native family (usually SECURITY) in LOG_LEVEL; reproduce once.`}),`\n`,_jsxs(_components.li,{children:[`For auth issues, look for `,_jsx(_components.code,{children:`security:`}),` and `,_jsx(_components.code,{children:`ldap:`}),` in Native logs.`]}),`\n`,_jsxs(_components.li,{children:[`For surprise policy changes, check `,_jsx(_components.strong,{children:`Config logs`}),` in the same time window.`]}),`\n`,_jsx(_components.li,{children:`Turn DEBUG and CLIENT debug headers off when finished.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-verify`,children:`How to verify`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Reproduce the issue once and confirm a corresponding entry appears in Detailed logs with the expected timestamp, client, and URL.`}),`\n`,_jsxs(_components.li,{children:[`Confirm `,_jsx(_components.code,{children:`filter_name`}),` and `,_jsx(_components.code,{children:`filtering_reason`}),` on that entry name the module actually under suspicion before changing that module’s configuration.`]}),`\n`,_jsx(_components.li,{children:`If a Native log family or Trace Entry was enabled for the investigation, confirm the expected line appears, then turn it back off.`}),`\n`,_jsx(_components.li,{children:`After a fix, reproduce again and confirm the new entry shows the expected outcome.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/configuration/start_here/first_configuration`,children:`First configuration`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/configuration/application_setup/access_restrictions`,children:`Access restrictions`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/configuration/start_here/authentication`,children:`Authentication`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/configuration/restriction_policies/access_profiles`,children:`Access Profiles`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/configuration/start_here/architecture`,children:`Architecture`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/configuration/start_here/debug_response_headers`,children:`Debug response headers`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Logging and troubleshooting","description":"Find which SafeSquid log proves what happened when a user reports a blocked site or a page that will not load.","keywords":["logging troubleshooting","SafeSquid log files","log level","detailed log columns","which log to open"],"href":"/configuration/start_here/logging"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Find Answers With Logging and Troubleshooting","slug":"find-answers-with-logging-and-troubleshooting","depth":1,"children":[]},{"title":"Which log should I open?","slug":"which-log-should-i-open","depth":2,"children":[]},{"title":"Log families","slug":"log-families","depth":2,"children":[]},{"title":"Viewing logs in the Web UI","slug":"viewing-logs-in-the-web-ui","depth":2,"children":[]},{"title":"Log level (native / putlog)","slug":"log-level-native-/-putlog","depth":2,"children":[]},{"title":"Detailed log — key columns","slug":"detailed-log-—-key-columns","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[{"title":"1 — “I cannot browse at all”","slug":"1-—-“i-cannot-browse-at-all”","depth":3,"children":[]},{"title":"2 — “Only one site is blocked”","slug":"2-—-“only-one-site-is-blocked”","depth":3,"children":[]},{"title":"3 — “Login keeps asking for a password”","slug":"3-—-“login-keeps-asking-for-a-password”","depth":3,"children":[]}]},{"title":"Rotation and remote copy","slug":"rotation-and-remote-copy","depth":2,"children":[]},{"title":"Debug response headers","slug":"debug-response-headers","depth":2,"children":[]},{"title":"Policy trace","slug":"policy-trace","depth":2,"children":[]},{"title":"Troubleshooting workflow","slug":"troubleshooting-workflow","depth":2,"children":[]},{"title":"How to verify","slug":"how-to-verify","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"safe-squid-labs-12a0916f","siteName":"SafeSquid Documentation","title":"Logging and troubleshooting - SafeSquid Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-08T15:49:30.566Z","originalFileLocation":"configuration/start_here/logging.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Find which SafeSquid log proves what happened when a user reports a blocked site or a page that will not load.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SafeSquid Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/safe-squid-labs-12a0916f/dNzFC4OIOBxe5Jm_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/safe-squid-labs-12a0916f/dNzFC4OIOBxe5Jm_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/safe-squid-labs-12a0916f/dNzFC4OIOBxe5Jm_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/safe-squid-labs-12a0916f/dNzFC4OIOBxe5Jm_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/safe-squid-labs-12a0916f/dNzFC4OIOBxe5Jm_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/safe-squid-labs-12a0916f/dNzFC4OIOBxe5Jm_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/safe-squid-labs-12a0916f/dNzFC4OIOBxe5Jm_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/safe-squid-labs-12a0916f/dNzFC4OIOBxe5Jm_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/safe-squid-labs-12a0916f/dNzFC4OIOBxe5Jm_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Logging and troubleshooting - SafeSquid Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Find which SafeSquid log proves what happened when a user reports a blocked site or a page that will not load.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SafeSquid Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.safesquid.com/configuration/start_here/logging\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://safe-squid-labs-12a0916f.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Logging+and+troubleshooting\u0026amp;description=Find+which+SafeSquid+log+proves+what+happened+when+a+user+reports+a+blocked+site+or+a+page+that+will+not+load.\u0026amp;theme=4ec1e09f5eab69716f172ff1\u0026amp;signature=7f3bd69221d4781fbb2b7afdedd867adcf5e8d97d28593f55b8c341ce5426b65\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Logging and troubleshooting - SafeSquid Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Find which SafeSquid log proves what happened when a user reports a blocked site or a page that will not load.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://safe-squid-labs-12a0916f.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Logging+and+troubleshooting\u0026amp;description=Find+which+SafeSquid+log+proves+what+happened+when+a+user+reports+a+blocked+site+or+a+page+that+will+not+load.\u0026amp;theme=4ec1e09f5eab69716f172ff1\u0026amp;signature=7f3bd69221d4781fbb2b7afdedd867adcf5e8d97d28593f55b8c341ce5426b65\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/safe-squid-labs-12a0916f/dNzFC4OIOBxe5Jm_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SafeSquid Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0066CC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.safesquid.com/configuration/start_here/logging\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/configuration/start_here/logging.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.safesquid.com/#organization\",\"name\":\"SafeSquid Documentation\",\"url\":\"https://docs.safesquid.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/safe-squid-labs-12a0916f/WapkOaLV2w2WE_m9/images/logos/safesquid/safesquid-mark-blue.png?fit=max\u0026auto=format\u0026n=WapkOaLV2w2WE_m9\u0026q=85\u0026s=b7b9c81a4dfce86823f854d9510e5cec\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.safesquid.com#website\",\"name\":\"SafeSquid Documentation\",\"url\":\"https://docs.safesquid.com\",\"publisher\":{\"@id\":\"https://docs.safesquid.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.safesquid.com/configuration/start_here/logging#webpage\",\"url\":\"https://docs.safesquid.com/configuration/start_here/logging\",\"name\":\"Logging and troubleshooting\",\"description\":\"Find which SafeSquid log proves what happened when a user reports a blocked site or a page that will not load.\",\"dateModified\":\"2026-10-08T15:49:30.566Z\",\"isPartOf\":{\"@id\":\"https://docs.safesquid.com#website\"}},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.safesquid.com/configuration/start_here/logging#article\",\"headline\":\"Logging and troubleshooting\",\"name\":\"Logging and troubleshooting\",\"description\":\"Find which SafeSquid log proves what happened when a user reports a blocked site or a page that will not load.\",\"url\":\"https://docs.safesquid.com/configuration/start_here/logging\",\"mainEntityOfPage\":{\"@id\":\"https://docs.safesquid.com/configuration/start_here/logging#webpage\"},\"dateModified\":\"2026-10-08T15:49:30.566Z\",\"keywords\":\"logging troubleshooting, SafeSquid log files, log level, detailed log columns, which log to open\",\"publisher\":{\"@id\":\"https://docs.safesquid.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.safesquid.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SafeSquid Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"SafeSquid Documentation","nav":{"global":{"languages":[{"language":"en","default":true,"href":"/getting_started/welcome"},{"language":"es","href":"/?lang=es"}],"versions":[{"version":"v2026.0312.1923","default":true,"href":"/getting_started/welcome"},{"version":"v2024.0315.1413","href":"/?version=legacy"}]},"tabs":[{"tab":"Get Started","icon":"compass","pages":[{"title":"Get Started","href":"/getting_started/welcome"}]},{"tab":"Architecture","icon":"sitemap","pages":[{"title":"Architecture","href":"/architecture/application_ecosystem/main"}]},{"tab":"Deployment","icon":"server","pages":[{"title":"Deployment","href":"/deployment/licensing_requirements"}]},{"tab":"Configuration","icon":"sliders","pages":[{"title":"Configuration","href":"/configuration/start_here/first_configuration"}]},{"tab":"Use Cases","icon":"lightbulb","pages":[{"title":"Use Cases","href":"/use_cases/use_cases"}]},{"tab":"Reporting","icon":"chart-line","pages":[{"title":"Reporting","href":"/reporting/reporting"},{"title":"Log-Retention Planning","href":"/deployment/log_retention_planning"},{"title":"Logging and Reporting","href":"/deployment/logging_and_reporting"},{"title":"Tools and Reports","description":"Use the Reports and Support utilities to confirm the proxy is healthy, audit configuration changes, and troubleshoot user issues.","href":"/configuration/start_here/tools_and_reports"},{"title":"Logging and troubleshooting","href":"/configuration/start_here/logging"}]},{"tab":"Troubleshooting","icon":"wrench","pages":[{"title":"Troubleshooting","href":"/troubleshooting/troubleshooting"}]},{"tab":"FAQs","icon":"circle-question","pages":[{"title":"FAQs","href":"/faqs/faqs"}]}]},"basePath":"","title":"Logging and troubleshooting - SafeSquid Documentation","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["10e4515597"],"chunks":["BannerMarkdown-Cj6eAYhz.js","dist-CdrJecqK.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-D-TRO5q5.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}