summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-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 {