learningequality / ka-lite

KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity
https://learningequality.org/ka-lite/
Other
457 stars 304 forks source link

Put all output from `kalite manage setup` in log #5408

Closed benjaoming closed 7 years ago

benjaoming commented 7 years ago

Summary

Some of the output during setup is just added via print statements and sys.stderr, we should log everything the proper way so it goes into server.log.

System information

All systems

Real-life consequences (anything community should be aware, for instance how it affects your deployment)

It's hard to properly debug problems pertaining initial setup. Currently, we have an issue with certificates, and it's impossible to tell if they've been generated or not.

benjaoming commented 7 years ago

Fixed in #5441