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

Centralize logging and spawning of loggers throughout the flask app #313

Closed
kartikay-bagla opened this issue Oct 13, 2021 · 0 comments
Closed

Comments

@kartikay-bagla
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, we create multiple loggers with the same configuration, this can lead to issues like file locks and extra code clutter.

Describe the solution you'd like
Move to a centralized logging solution by configuring the logger once for the entire app and then use that to spawn other loggers.

@kartikay-bagla kartikay-bagla changed the title Add structured logging to core analytics code for easier troubleshooting Centralize logging and spawning of loggers throughout the flask app Oct 13, 2021
kartikay-bagla added a commit that referenced this issue Oct 13, 2021
* Centralized logging
* Added stream handler
* Reduced clutter in log messages
kartikay-bagla added a commit that referenced this issue Oct 13, 2021
* Centralized logging
* Added stream handler
* Reduced clutter in log messages
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

Successfully merging a pull request may close this issue.

1 participant