From: Josh Richards Date: Sun, 31 Dec 2023 17:00:47 +0000 (-0500) Subject: Fix log rotation notification level (warning->info) X-Git-Tag: v29.0.0beta1~570^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F42538%2Fhead;p=nextcloud-server.git Fix log rotation notification level (warning->info) Fixes #42537 Signed-off-by: Josh Richards --- diff --git a/lib/private/Log/Rotate.php b/lib/private/Log/Rotate.php index 4c0e258b2f9..efe548b7783 100644 --- a/lib/private/Log/Rotate.php +++ b/lib/private/Log/Rotate.php @@ -43,7 +43,7 @@ class Rotate extends \OCP\BackgroundJob\Job { if ($this->shouldRotateBySize()) { $rotatedFile = $this->rotate(); $msg = 'Log file "'.$this->filePath.'" was over '.$this->maxSize.' bytes, moved to "'.$rotatedFile.'"'; - \OC::$server->getLogger()->warning($msg, ['app' => Rotate::class]); + \OC::$server->getLogger()->info($msg, ['app' => Rotate::class]); } } }