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

logviewer.ini [RedactionSettings]

The settings of [RedactionSettings] in logviewer.ini: MaskEmails, MaskIPs, MaskSecrets, SecretSettings, SecretGroups

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/logviewer/RedactionSettings.md

On this page

logviewer.ini [RedactionSettings]

The block [RedactionSettings] of settings/logviewer.ini, with 5 setting(s).

Never edit settings/logviewer.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/logviewer.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/logviewer.ini.append.php for one siteaccess,
  • extension/<extension>/settings/logviewer.ini.append.php in an extension (read when the extension is active).

MaskEmails

Mask in what the viewer shows: e-mail addresses, IP addresses, and secrets (passwords in addresses and
pairs, tokens, keys, session ids, cookies). A user with setup/unmasklogs can switch masking off for
themselves on the page; the secrets of the settings below never are.

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/logviewer.ini.append.php
[RedactionSettings]
MaskEmails=enabled
*/ ?>

MaskIPs

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/logviewer.ini.append.php
[RedactionSettings]
MaskIPs=enabled
*/ ?>

MaskSecrets

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/logviewer.ini.append.php
[RedactionSettings]
MaskSecrets=enabled
*/ ?>

SecretSettings

The settings whose values are never shown, even unmasked: <file>;<group>;<variable>. Every value of them
that occurs in a log line is replaced by ***. Variables whose name says they hold a secret (Password,
Secret, Token, Key ...) in these groups are covered too.

Default: a list of 2: site.ini;DatabaseSettings;Password, site.ini;MailSettings;TransportPassword.

<?php /* #?ini charset="utf-8"?
# settings/override/logviewer.ini.append.php
[RedactionSettings]
# an empty "SecretSettings[]" first replaces the shipped list; without it the items are added
SecretSettings[]
SecretSettings[]=site.ini;DatabaseSettings;Password
SecretSettings[]=site.ini;MailSettings;TransportPassword
*/ ?>

SecretGroups

Default: a list of 2: site.ini;DatabaseSettings, site.ini;MailSettings.

<?php /* #?ini charset="utf-8"?
# settings/override/logviewer.ini.append.php
[RedactionSettings]
# an empty "SecretGroups[]" first replaces the shipped list; without it the items are added
SecretGroups[]
SecretGroups[]=site.ini;DatabaseSettings
SecretGroups[]=site.ini;MailSettings
*/ ?>

Generated by ./console exp:help:examples from settings/logviewer.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

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