CONFIG: nextcloud log dirs

This commit is contained in:
Shihaam Abdul Rahman 2022-10-08 03:44:13 +05:00
parent 7aa7eacacf
commit 8dd09ad4f8
Signed by: shihaam
GPG Key ID: 3B007D22E5584980
2 changed files with 3 additions and 3 deletions

View File

@ -17,4 +17,4 @@ cp -rv default_configs/var/www/html/config/ /var/www/html/
#Create log dirs
mkdir -pv /root/logs/nginx
mkdir -pv /root/logs/php-fpm
mkdir -pv /root/logs/nextcloud

View File

@ -878,7 +878,7 @@ $CONFIG = [
*
* Defaults to ``[datadirectory]/nextcloud.log``
*/
'logfile' => '/var/log/nextcloud.log',
'logfile' => '/root/logs/nextcloud/nextcloud.log',
/**
* Name of the file to which the audit logs are written if parameter
@ -886,7 +886,7 @@ $CONFIG = [
*
* Defaults to ``[datadirectory]/audit.log``
*/
'logfile_audit' => '/var/log/audit.log',
'logfile_audit' => '/root/logs/nextcloud/audit.log',
/**
* Log file mode for the Nextcloud logging type in octal notation.