You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now fog services that use mobilecoind to sync the ledger generate log entries for each block processed. Since the ledger is approaching 1M+ blocks this creates several million log entries on each application instance when we do upgrades or blue/green style deployments.
This puts additional load and on the infrastructure and adds cost to ship all these logs to our logging provider.
No idea on what the level of effort is for these but, some ideas to reduce volume of logs during startup.
Reduce level to ERROR during initial sync and reset to LOG_LEVEL when service is healthy.
Don't log successful archive retrieved for each node, just log once for each block.
Don't log each node/block when doing roll up blocks just log success on the batch.
The text was updated successfully, but these errors were encountered:
On start up, if we're back filling the ledger, logging messages by batch would be nice. Maybe 1 message for each 10k blocks processed until we catch up?
Right now fog services that use mobilecoind to sync the ledger generate log entries for each block processed. Since the ledger is approaching 1M+ blocks this creates several million log entries on each application instance when we do upgrades or blue/green style deployments.
This puts additional load and on the infrastructure and adds cost to ship all these logs to our logging provider.
No idea on what the level of effort is for these but, some ideas to reduce volume of logs during startup.
The text was updated successfully, but these errors were encountered: