mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
Merge pull request #42539 from nextcloud/backport/42538/stable28
[stable28] Fix log rotation notification level (warning->info)
This commit is contained in:
commit
ca34f0c6f1
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