-
Notifications
You must be signed in to change notification settings - Fork 38
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
3116 - Adds a log configuration to docker containers to roll #1850
Conversation
…he container is 30m.
…ding the base image and matching current deployments. delete current image step added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - think we definitely need to duplicate this change onto the .23 branch and ideally see a successful deploy with it from main before we merge.
az disk delete --resource-group Testnet --name MakeImageVM_OSDisk --yes | ||
az network nic delete --resource-group Testnet --name MakeImageVM_NIC | ||
az disk delete --resource-group Testnet --name MakeImageVM_OsDisk-<get uuid from azure> --yes --no-wait | ||
az network nic delete --resource-group Testnet --name MakeImageVMVMNIC --no-wait |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor thing but did you mean to change that name? MakeImageVM_NIC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it wasn't deleting and after investigating the resources on azure, saw the suffix was without the underscore. :)
This branch is off based on the [v0.23] https://github.com/ten-protocol/go-ten/tree/anthony/v0.23-patch-log-rolling |
Why this change is needed
Containers (nodes) were crashing due to overflow of container logs (default is persisting internally to
json-file
) which had no rotation scheme.What changes were made as part of this PR
Added some log options to the standard rolling behavior of 10m per log file -> creation of new file when exceeding -> maximum historic files of 3 -> delete oldest on next rotation.
Please provide a high level list of the changes made
PR checks pre-merging
Please indicate below by ticking the checkbox that you have read and performed the required
PR checks