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

Bump default logfile-max-number to 10 #6092

Merged
merged 3 commits into from
Jul 16, 2024

Conversation

jimmygchen
Copy link
Member

Issue Addressed

This PR bumps the default logfile-max-number from 5 to 10.

When the beacon node has a large number of validators attached to it, the log file gets filled up and sometimes gets rotated very quickly. This gets a bit worse if the node is overwhelmed / behind. It would be better if the debug logs can stay on the machine for at least 2~3 days, so that we have enough time to respond when an issue occurs. There's been multiple instances where we request logs from user and the old logs just got rotated out.

The current default limits the total logs stored on disk to 1Gb, this change would increase it to 2Gb, which isn't too bad.

@jimmygchen jimmygchen added ready-for-review The code is ready for review low-hanging-fruit Easy to resolve, get it before someone else does! labels Jul 15, 2024
@michaelsproul michaelsproul added the backwards-incompat Backwards-incompatible API change label Jul 15, 2024
@michaelsproul
Copy link
Member

Flagging this as backwards-incompat even though it isn't, just so we remember to mention it in release notes

@michaelsproul
Copy link
Member

@mergify queue

Copy link

mergify bot commented Jul 15, 2024

queue

🛑 The pull request has been removed from the queue default

The queue conditions cannot be satisfied due to failing checks.

You can take a look at Queue: Embarked in merge queue check runs for more details.

In case of a failure due to a flaky test, you should first retrigger the CI.
Then, re-embark the pull request into the merge queue by posting the comment
@mergifyio refresh on the pull request.

mergify bot added a commit that referenced this pull request Jul 15, 2024
@realbigsean
Copy link
Member

@mergify queue

Copy link

mergify bot commented Jul 15, 2024

queue

🛑 The pull request has been removed from the queue default

The queue conditions cannot be satisfied due to failing checks.

You can take a look at Queue: Embarked in merge queue check runs for more details.

In case of a failure due to a flaky test, you should first retrigger the CI.
Then, re-embark the pull request into the merge queue by posting the comment
@mergifyio refresh on the pull request.

@jimmygchen jimmygchen added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Jul 16, 2024
@jimmygchen
Copy link
Member Author

@mergify requeue

Copy link

mergify bot commented Jul 16, 2024

requeue

✅ This pull request will be re-embarked automatically

The followup queue command will be automatically executed to re-embark the pull request

Copy link

mergify bot commented Jul 16, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 6856134

mergify bot added a commit that referenced this pull request Jul 16, 2024
@mergify mergify bot merged commit 6856134 into sigp:unstable Jul 16, 2024
29 checks passed
ThreeHrSleep pushed a commit to ThreeHrSleep/lighthouse that referenced this pull request Aug 1, 2024
* Bump default `logfile-max-number` to 10.

* Bump default `logfile-max-number` to 10.

* Fix docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards-incompat Backwards-incompatible API change low-hanging-fruit Easy to resolve, get it before someone else does! ready-for-merge This PR is ready to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants