diff --git a/buildfiles/auto_config.sh b/buildfiles/auto_config.sh index 2767a80..44f62f0 100644 --- a/buildfiles/auto_config.sh +++ b/buildfiles/auto_config.sh @@ -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 diff --git a/buildfiles/var/www/html/config/config.php b/buildfiles/var/www/html/config/config.php index 2c9e439..158d4df 100644 --- a/buildfiles/var/www/html/config/config.php +++ b/buildfiles/var/www/html/config/config.php @@ -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.