summaryrefslogtreecommitdiffstats
path: root/lib/log/rotate.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-07-10 18:07:43 +0200
committerBart Visscher <bartv@thisnet.nl>2013-08-28 17:11:43 +0200
commit42f3ecb60fb14ef9739b436f115d302b5d4432a1 (patch)
tree6692b5f4d787309a23c220bd104754aa2a904932 /lib/log/rotate.php
parent62560ef859a459542af50dd1905bdf8828a1d142 (diff)
downloadnextcloud-server-42f3ecb60fb14ef9739b436f115d302b5d4432a1.tar.gz
nextcloud-server-42f3ecb60fb14ef9739b436f115d302b5d4432a1.zip
Check for installed state before registering the logrotate background job
Diffstat (limited to 'lib/log/rotate.php')
-rw-r--r--lib/log/rotate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log/rotate.php b/lib/log/rotate.php
index 3b976d50dce..41ef2ea299c 100644
--- a/lib/log/rotate.php
+++ b/lib/log/rotate.php
@@ -16,7 +16,7 @@ namespace OC\Log;
* location and manage that with your own tools.
*/
class Rotate extends \OC\BackgroundJob\Job {
- const LOG_SIZE_LIMIT = 104857600; // 100 MB
+ const LOG_SIZE_LIMIT = 104857600; // 100 MiB
public function run($logFile) {
$filesize = @filesize($logFile);
if ($filesize >= self::LOG_SIZE_LIMIT) {