This module is also responsible for starting the audit process.
To configure it you need to do 2 things:
- add a module configuration entry:
'modules' => [
'audit' => 'bedezign\yii2\audit\Audit',
]
or optionally with configuration:
'modules' => [
'audit' => [
'class' => 'bedezign\yii2\audit\Audit',
'ignoreActions' => ['debug/*']
]
- If you want to auto track actions, be sure to add the module to the application bootstrapping:
'bootstrap' => ['audit'],