summaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-04-10 23:52:41 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-04-11 00:27:51 +0200
commit058f8123e61863f27ca138370853f71f70e90233 (patch)
treef00a3ecbb059183fae01838b39c421eb039bf47c /core/Command
parent323ee3cbdc420f1009b6eb64b2df0f878ff39a14 (diff)
downloadnextcloud-server-058f8123e61863f27ca138370853f71f70e90233.tar.gz
nextcloud-server-058f8123e61863f27ca138370853f71f70e90233.zip
Set the default log rotate size to 100 MB
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/Log/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Log/File.php b/core/Command/Log/File.php
index e5db2c1acc4..8be01d2b6ef 100644
--- a/core/Command/Log/File.php
+++ b/core/Command/Log/File.php
@@ -105,7 +105,7 @@ class File extends Command implements Completion\CompletionAwareInterface {
$defaultLogFile = rtrim($dataDir, '/').'/nextcloud.log';
$output->writeln('Log file: '.$this->config->getSystemValue('logfile', $defaultLogFile));
- $rotateSize = $this->config->getSystemValue('log_rotate_size', 0);
+ $rotateSize = $this->config->getSystemValue('log_rotate_size', 100*1024*1024);
if ($rotateSize) {
$rotateString = \OCP\Util::humanFileSize($rotateSize);
} else {