Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix log rotation notification level (warning->info)
Fixes #42537 

Signed-off-by: Josh Richards <[email protected]>
  • Loading branch information
joshtrichards committed Jan 1, 2024
commit 7a212b1f382dff60f52681471ac84aef1bac3e78
2 changes: 1 addition & 1 deletion lib/private/Log/Rotate.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function run($dummy): void {
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]);
}
}
}