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

Document logging to files #195

Open
uniqueg opened this issue Jul 21, 2020 · 1 comment
Open

Document logging to files #195

uniqueg opened this issue Jul 21, 2020 · 1 comment
Labels
flag: good 1st issue Good for newcomers priority: low Low priority type: docs Improvements or additions to documentation workload: hours Likely takes hours to resolve

Comments

@uniqueg
Copy link
Member

uniqueg commented Jul 21, 2020

Is your feature request related to a problem? Please describe.

Currently, app and worker logs are streamed to STDERR by default. While this guarantees easy access to logs by devops/administrators, logs are not persisting when the service is re-deployed. It may also be harder to find and analyze logs.

Describe the solution you'd like

Different logging handlers can be configured via cwl_wes/config/log_config.yaml. Document how logging to files, as well as a basic log rotation scheme can be configured.

Describe alternatives you've considered
N/A

Additional context
For log rotations, consider how overflowing volumes can be avoided given a configured volume size for the service. This may require code changes.

@uniqueg uniqueg added priority: low Low priority type: docs Improvements or additions to documentation workload: hours Likely takes hours to resolve flag: good 1st issue Good for newcomers labels Jul 21, 2020
@uniqueg
Copy link
Member Author

uniqueg commented Jul 21, 2020

This issue should should be handled in FOCA instead, as the log configuration will move there eventually (#153).

@uniqueg uniqueg added status: abandoned This will not be worked on and removed status: abandoned This will not be worked on labels Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag: good 1st issue Good for newcomers priority: low Low priority type: docs Improvements or additions to documentation workload: hours Likely takes hours to resolve
Projects
None yet
Development

No branches or pull requests

1 participant