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

Add logging to profanity-check sdk #169

Open
abhi4578 opened this issue Sep 30, 2022 · 0 comments
Open

Add logging to profanity-check sdk #169

abhi4578 opened this issue Sep 30, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@abhi4578
Copy link
Contributor

  • Currently, the logs are just printed to StdOut. This does not work well with docker logs. As temporary fix, PYTHONUNBUFFERED=1 is set environment variable as suggested at stackoverflow and github issue.

  • Its best to add proper json/fmt format logging using logging library with configurable log levels.

@abhi4578 abhi4578 added the enhancement New feature or request label Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant