From 7a212b1f382dff60f52681471ac84aef1bac3e78 Mon Sep 17 00:00:00 2001 From: Josh Richards Date: Sun, 31 Dec 2023 12:00:47 -0500 Subject: [PATCH] Fix log rotation notification level (warning->info) Fixes #42537 Signed-off-by: Josh Richards --- lib/private/Log/Rotate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); } } } -- 2.39.5