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

current_app logging throughout (no prints) #67

Open
tskluzac opened this issue Nov 10, 2021 · 1 comment
Open

current_app logging throughout (no prints) #67

tskluzac opened this issue Nov 10, 2021 · 1 comment

Comments

@tskluzac
Copy link
Collaborator

Given the high number of threads running on our elastic beanstalk cluster, we should have replace all print statements with current_app logging statements. This can apparently easily be done across the blueprints/application by

from flask import current_app

and then typical logger statements like

current_app.logger.info, current_app.logger.error, etc.

@tskluzac
Copy link
Collaborator Author

Resolving this will also resolve #5

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