Hi, is there a way to customize the location of the audit.log? I’m able to customize the location of the nextcloud-log (‘logfile’ => ‘/var/log/nextcloud/nextcloud.log’), but I cannot find a parameter for the audit.log to customize its location.
Thanks in Advance Martin
With NC 14.0.3.0 I appear to be able to modify the location with this:
sudo -u www-data php occ config:app:set admin_audit logfile --value=/var/log/nextcloud/audit.log
But it would be nice if someone could point me to some documentation regarding audit configuration.
Thank you very much for your answer. I was able to change the directory.
This should be documented here https://docs.nextcloud.com/server/15/admin_manual/configuration_server/logging_configuration.html Or at least make the logfile value the default for all apps so that all logs are combined in one file you can fiew from the browser.