-
Notifications
You must be signed in to change notification settings - Fork 686
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
No logging handlers configured #261
Labels
Comments
There are some other issues related to logging that should be addressed here as well.
|
Looking into this for the hackathon. |
Merged
For #310, here's resolutions for the additional issues raised in my above comment:
@dolanjs what do you think? |
Fixed in master with #310. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In 59ba7aa (now in master and develop), I added some support for logging with the Python standard library logging module. I also added code to set up handlers (places where logs go) and attach them to the loggers, which was in
config.py
. Unfortunately, I appear to have accidentally forgotten to copy these changes toexample_config.py
, which means they were not committed to the repository. That means that no logging is recorded anywhere. Note that in development, Flask is in debug mode (app.run(debug=True)
), so the Flask app's logs are printed to stderr. Other logging (done with thelog
objects defined at the top of, currently,source.py
andstore.py
) is not being recorded.debug == False
in production, so no logs are recorded in production.This is a minor issue because there is very little logging being performed at the moment, and it is mostly for extremely rare/unlikely cases (such as duplicate codename generation). Nonetheless, this needs to be fixed (and hotfixed) because it will make debugging legitimate errors more difficult, especially in production.
The text was updated successfully, but these errors were encountered: