diff options
author | Josh Richards <josh.t.richards@gmail.com> | 2023-12-31 12:00:47 -0500 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2024-01-01 09:22:48 +0000 |
commit | a781412660f4daa91a6bb72833c772b4b6af368d (patch) | |
tree | 6d401445f7cf593427f8bec1e7369c53c97eacc3 /lib/private/Log | |
parent | 75c8a037846f527c582fda66bd331d4da9d765fb (diff) | |
download | nextcloud-server-a781412660f4daa91a6bb72833c772b4b6af368d.tar.gz nextcloud-server-a781412660f4daa91a6bb72833c772b4b6af368d.zip |
Fix log rotation notification level (warning->info)
Fixes #42537
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Diffstat (limited to 'lib/private/Log')
-rw-r--r-- | lib/private/Log/Rotate.php | 2 |
1 files changed, 1 insertions, 1 deletions
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]); } } } |