Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,113 of 9,113 pages
About the help in other languages
All help pages

Masking in logs and the log viewer

For administrators of public sites - how Exponential masks e-mail addresses, IP addresses and secrets in request logs and in the log viewer, who may see unmasked values, and how to keep screenshots, downloads and…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/privacy/log-masking.md

On this page

Masking in logs and the log viewer

This page is for administrators. Logs are full of personal data: addresses, e-mail addresses in URLs, user agents. Exponential masks them in two places, when writing request logs and when showing any log (Log viewer: Privacy, Request logs).

Note This page describes features and common practice; it is not legal advice. Check the law that applies to your organization with your legal counsel.

Contents

  1. When writing
  2. When showing
  3. Unmasked access
  4. Good practice
  5. Related pages

When writing

site.ini [RequestLogSettings] for 404.log and security.log:

  • MaskIP=enabled (default): the client address with its host part hidden (203.0.x.x, 2001:db8:x:x); the raw address is never written to a file. disabled writes it in full, "only for a site that has a reason and a legal basis for it".
  • In 404.log every query value is replaced by ***; in security.log query values are kept as evidence, with secrets, e-mail and IP addresses in them masked.
  • User agents: a short hash and the first 60 characters.

Other kernel logs (error.log, debug.log ...) are written as the code writes them; they are masked when shown.

When showing

settings/logviewer.ini [RedactionSettings]:

SettingMasks
MaskEmails[email protected] becomes j***@***.com
MaskIPs203.0.113.7 becomes 203.0.x.x; IPv6 keeps its first two groups
MaskSecretspasswords in addresses, password=, token=, api_key= values, Bearer and Basic credentials, JSON web tokens, session ids and cookies, long keys and hashes
SecretSettings[], SecretGroups[]always masked, whatever the switches

Downloads from the viewer are masked the same way.

Unmasked access

A user with the policy setup/unmasklogs can switch Show unmasked on for themselves; it applies to the page, its polls and its downloads, and the audit records that the file was read unmasked. Give the policy to very few people, for investigations.

Good practice

  • Make screenshots and support reports with masking on, as the log viewer's documentation advises.
  • When you send a log to a supplier, send a masked download, not the raw file.
  • Web server access logs are outside Exponential and usually contain full addresses: set their retention and masking in the web server or with your host.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x