summaryrefslogtreecommitdiffstats
path: root/lib/private/log/rotate.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/log/rotate.php')
-rw-r--r--lib/private/log/rotate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/log/rotate.php b/lib/private/log/rotate.php
index a8882e0e2f1..4572a9904d2 100644
--- a/lib/private/log/rotate.php
+++ b/lib/private/log/rotate.php
@@ -44,6 +44,6 @@ class Rotate extends \OC\BackgroundJob\Job {
$rotatedLogfile = $logfile.'.1';
rename($logfile, $rotatedLogfile);
$msg = 'Log file "'.$logfile.'" was over '.$this->max_log_size.' bytes, moved to "'.$rotatedLogfile.'"';
- \OC_Log::write('OC\Log\Rotate', $msg, \OC_Log::WARN);
+ \OCP\Util::writeLog('OC\Log\Rotate', $msg, \OCP\Util::WARN);
}
}