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

Augur log data oversaturation #3008

Open
cdolfi opened this issue Feb 20, 2025 · 3 comments
Open

Augur log data oversaturation #3008

cdolfi opened this issue Feb 20, 2025 · 3 comments

Comments

@cdolfi
Copy link

cdolfi commented Feb 20, 2025

It can be hard at times to debug because the logs can not be kept for long as 1000s of jobs generate 100s of lines of stack trace, all at once after a potential useful error log (like index corruption messages) has passed. There might be a design problem/change that would help the useful logs be able to stick around longer. @GregSutcliffe tagged to provide more context and lmk if I should edit this description

@Ulincsys
Copy link
Contributor

Hi Cali,

The primary log stream receives the combined output of every logging interface within Augur, so it does go very quickly on an active instance.

However, in the logs/ directory (or elsewhere, if configured otherwise) each logging unit should have its own log file in the form of logging_unit.info and logging_unit.error for separate stdout/stderr logs, or logging_unit.out for a combined log stream.

If you are running in a docker container, then you'll need to mount logs/ as a volume (which I believe that @GregSutcliffe has mentioned doing previously), or you can access the container via an interactive shell with

docker exec -it <container_name> bash

@sgoggins
Copy link
Member

I think setting the LOGLEVEL to ERROR in the augur_operations.config table will also reduce logging to contain something more manageable and expected in a production instance.

@cdolfi
Copy link
Author

cdolfi commented Feb 24, 2025

@GregSutcliffe Do you know what our logging level is?

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

3 participants