Skip to content

Commit 298c7c5

Browse files
Fix log rotation notification level (warning->info)
Fixes #42537 Signed-off-by: Josh Richards <[email protected]>
1 parent 5b0b535 commit 298c7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Log/Rotate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function run($dummy): void {
4343
if ($this->shouldRotateBySize()) {
4444
$rotatedFile = $this->rotate();
4545
$msg = 'Log file "'.$this->filePath.'" was over '.$this->maxSize.' bytes, moved to "'.$rotatedFile.'"';
46-
\OC::$server->getLogger()->warning($msg, ['app' => Rotate::class]);
46+
\OC::$server->getLogger()->info($msg, ['app' => Rotate::class]);
4747
}
4848
}
4949
}

0 commit comments

Comments
 (0)