remotes/origin/stable6
Morris Jobke 13 years ago
parent 3fd2df4088
commit d4952bd9df
  1. 2
      lib/log/rotate.php

@ -17,7 +17,7 @@ namespace OC\Log;
class Rotate extends \OC\BackgroundJob\Job {
private $max_log_size;
public function run($logFile) {
$this->max_log_size = OC_Config::getValue('log_rotate_size', false);
$this->max_log_size = \OC_Config::getValue('log_rotate_size', false);
if ($this->max_log_size) {
$filesize = @filesize($logFile);
if ($filesize >= $this->max_log_size) {

Loading…
Cancel
Save