aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Log
diff options
context:
space:
mode:
authorJosh Richards <josh.t.richards@gmail.com>2023-12-31 12:00:47 -0500
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2024-01-01 09:22:48 +0000
commita781412660f4daa91a6bb72833c772b4b6af368d (patch)
tree6d401445f7cf593427f8bec1e7369c53c97eacc3 /lib/private/Log
parent75c8a037846f527c582fda66bd331d4da9d765fb (diff)
downloadnextcloud-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.php2
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]);
}
}
}