diff options
author | Josh Richards <josh.t.richards@gmail.com> | 2023-12-31 12:00:47 -0500 |
---|---|---|
committer | Josh Richards <josh.t.richards@gmail.com> | 2023-12-31 20:26:39 -0500 |
commit | 7a212b1f382dff60f52681471ac84aef1bac3e78 (patch) | |
tree | 2ae4d7513e03d420e6dcebac55e55c49829695b5 /lib | |
parent | a01121b01d9fa5a437c6fd77e7704ef71174c924 (diff) | |
download | nextcloud-server-7a212b1f382dff60f52681471ac84aef1bac3e78.tar.gz nextcloud-server-7a212b1f382dff60f52681471ac84aef1bac3e78.zip |
Fix log rotation notification level (warning->info)
Fixes #42537
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Diffstat (limited to 'lib')
-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]); } } } |