mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix log rotation notification level (warning->info)
Fixes #42537 Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
This commit is contained in:
parent
a01121b01d
commit
7a212b1f38
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue