Skip to content

Conversation

@robll-v1
Copy link
Collaborator

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • [ x] Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #23587

What this PR does / why we need it:

This PR adds USR1-triggered log rotation for standalone deployments. It introduces a logutil.Rotate() helper that rotates the current lumberjack file logger (or logs an INFO skip when no file logger is configured), and updates mo-service to listen for SIGUSR1 without affecting existing shutdown signals. The change enables operators to manually rotate local log files and prevent unbounded growth in single-node environments.

@robll-v1 robll-v1 requested a review from XuPeng-SH as a code owner January 27, 2026 08:55
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature size/S Denotes a PR that changes [10,99] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants