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

audit.ini [AuditChannelSettings]

The settings of [AuditChannelSettings] in audit.ini: Channels, Route, DefaultChannel

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/audit/AuditChannelSettings.md

On this page

audit.ini [AuditChannelSettings]

The block [AuditChannelSettings] of settings/audit.ini, with 3 setting(s).

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

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

Channels

The channels (Q6): each is one chain, one file per day (and per MaxFileSize part).
Proposed: a fifth channel for sampled reads, used only when reads are switched on.

Default: a list of 5: content, access, system, commerce, read.

<?php /* #?ini charset="utf-8"?
# settings/override/audit.ini.append.php
[AuditChannelSettings]
# an empty "Channels[]" first replaces the shipped list; without it the items are added
Channels[]
Channels[]=content
Channels[]=access
Channels[]=system
Channels[]=commerce
Channels[]=read
*/ ?>

Route

Routing by taxonomy pattern, most specific wins. An event no pattern matches goes to
DefaultChannel.

Default: a hash of 8: content.*=content, content.node.view=read, content.search.*=read, content.object.download=read, access.*=access, system.*=system, commerce.*=commerce, data.*=commerce.

<?php /* #?ini charset="utf-8"?
# settings/override/audit.ini.append.php
[AuditChannelSettings]
# an empty "Route[]" first replaces the shipped list; without it the items are added
Route[]
Route[content.*]=content
Route[content.node.view]=read
Route[content.search.*]=read
Route[content.object.download]=read
Route[access.*]=access
Route[system.*]=system
Route[commerce.*]=commerce
Route[data.*]=commerce
*/ ?>

DefaultChannel

Default: system.

<?php /* #?ini charset="utf-8"?
# settings/override/audit.ini.append.php
[AuditChannelSettings]
DefaultChannel=system
*/ ?>

Generated by ./console exp:help:examples from settings/audit.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