Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do daemon uniqueness check before rotating logs #5847

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

hulthe
Copy link
Contributor

@hulthe hulthe commented Feb 22, 2024

fixes #5763

Moved RPC uniqueness check to before logging is initialized (and log file is rotated). Consequently, this means that we won't get any log output from runtime.build or the uniqueness check, but that's probably fine.

Not sure how this interacts with the initialize_firewall_and_exit mode, needs to be tested.


This change is Reviewable

@hulthe hulthe requested a review from dlon February 22, 2024 12:20
@hulthe hulthe changed the title daemon: Do uniqueness check before rotating logs Do daemon uniqueness check before rotating logs Feb 22, 2024
@hulthe hulthe force-pushed the uniqueness-check-before-logrotate branch from 58edea8 to ea5b0ef Compare February 22, 2024 12:28
Copy link
Member

@dlon dlon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@hulthe hulthe force-pushed the uniqueness-check-before-logrotate branch from ea5b0ef to 95766db Compare February 22, 2024 12:36
Copy link
Member

@dlon dlon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@dlon dlon force-pushed the uniqueness-check-before-logrotate branch from 95766db to f60a9c9 Compare February 22, 2024 12:42
@dlon dlon merged commit a08f3a5 into main Feb 22, 2024
18 checks passed
@dlon dlon deleted the uniqueness-check-before-logrotate branch February 22, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Log is rotated before RPC uniqueness check
2 participants