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

Cache contents too big for log file #125

Open
smarlowucf opened this issue Aug 7, 2023 · 0 comments
Open

Cache contents too big for log file #125

smarlowucf opened this issue Aug 7, 2023 · 0 comments

Comments

@smarlowucf
Copy link
Collaborator

Currently every time the cache is updated the entire data structure is dumped to the log file. This is setup to log at info level which is the production default. As the cache grows this will make the log harder and harder to parse. It will also lead to the log file growing in size rapidly. The billing data alone can grow to over 720 separate entries. This means a single dump of cache could be > 50kb of data. With a k8s max log file size of 10mb we probably want to log the most critical data only. For cache or csp-config updates possibly only the values that are changing.

This data could be helpful for debug though.

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

No branches or pull requests

1 participant