Property |
Type |
Description |
|
$accessIps |
|
IP address or list of IP addresses with access to the viewer, null for everyone (if the IP matches)
An IP address can contain the wildcard * at the end so that it matches IP addresses with the same prefix.
For example, '192.168.*' matches all IP addresses in the segment '192.168.'. |
|
$accessRoles |
|
Role or list of roles with access to the viewer, null for everyone (if the user matches) |
|
$accessUsers |
|
User ID or list of user IDs with access to the viewer, null for everyone (if the role matches) |
|
$batchSave |
|
The module does batch saving of the data records by default. You can disable this if you are experiencing
max_allowed_packet errors when logging huge data quantities. Records will be saved per piece instead of all at once |
|
$compressData |
|
Compress extra data generated or just keep in text? For people who don't like binary data in the DB |
|
$db |
|
name of the component to use for database access |
|
$ignoreActions |
|
Action or list of actions to ignore. '*' is allowed as the first or last character to use as wildcard (eg 'debug/*'). |
|
$layout |
|
the layout that should be applied for views within this module. This refers to a view name
relative to [[layoutPath]]. If this is not set, it means the layout value of the [[module|parent module]]
will be taken. If this is false, layout will be disabled within this module. |
|
$logTarget |
bedezign\yii2\audit\LogTarget |
|
|
$maxAge |
|
Maximum age (in days) of the audit entries before they are truncated |
|
$panels |
|
list of panels that should be active/tracking/available during the auditing phase.
If the value is a simple string, it is the identifier of an internal panel to activate (with default settings)
If the entry is a '' => '|' it is either a new panel or a panel override (if you specify a core id).
It is important that the key is unique, as this is the identifier used to store any data associated with the panel.
Please note:
- If you just want to change the configuration for a core panel, use the $panelConfiguration, it will be merged into this one
- If you add custom panels, please namespace them ("mynamespace/panelname"). |
|
$panelsMerge |
|
This gives you an easy way to just add or modify panels/configurations without having to re-specify every panel.
This only accepts regular definitions ('' => ''), but the core class will be added if needed
Take a look at the module configuration for more information. |
|
$traceLine |
|
|
|
$trackActions |
|
Action or list of actions to track. '*' is allowed as the first or last character to use as wildcard. |
|
$userFilterCallback |
|
Will be called to translate text in the user filter into a (or more) user id's |
|
$userIdentifierCallback |
|
The callback to use to convert a user id into an identifier (username, email, ...). Can also be html. |
|