I would like to pre-configure admin_audit loglevel exception when using docker-compose deployment. When the global loglevel
is at 2
or higher, admin_audit requires a log.condition
to be able to trigger on events. Manually, this can be done by adding the following into config.php:
'log.condition' => [
'apps' => ['admin_audit'],
],
I can do it with occ
using:
occ config:system:set --value=admin_audit log.condition apps 0
I’s there a way to insert this using a NC_
environment variable?