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

Excessive Logging, Unable to Configure - Default Docker EXEC doesn't configure or allow logging customisation #603

Open
omad opened this issue May 28, 2024 · 0 comments

Comments

@omad
Copy link
Member

omad commented May 28, 2024

Background
DEA's Explorer deployment at the NCI has been periodically running out of disk space, and the only thing running on that VM is Explorer.

I've been looking at what Explorer is logging, and how to customise it. And, it's either impossible or very awkward.

There's a bunch of useful looking code in https://github.com/opendatacube/datacube-explorer/blob/develop/cubedash/logs.py#L13 , that customises the structlog configuration, but that never gets run when running with gunicorn like in the Dockerfile or K8s deployments.

They just use the structlog defaults, which aren't bad.... but, are quite verbose.

I think we should be able to customise the logging setup for production deployments.

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