Looking for techniques to debug external Python Flask Extensions -
i'm using several third party flask-extensions (flask-login, flask-security, flask-principal, flask-mongoengine etc...the list 12 deep) in application failing silently in production environment (currently appfog paas)
i'm trying debug issue flask-security (i "think", flask-login, flask-mongoengine or plugin in authentication pipeline) since has logging in , redirecting user through application.
i notice several things flask extensions that's making them big quirky/difficult work with:
- most don't have debug logging in them
- some have partial support configuring (like using own templates)
- they install environment (i'm using virtualenv) opposed application "plugins/extensions" directory
i'm wondering if there's guidance around:
- installing plugins project, can modified (maybe logging added) , pushed production without having fork github project , repackage it.
- standard logging practices 3rd party extensions, or trace code
- any information/tips me debug current problems
thanks.
i'm going answer own question , best/easiest thing pull extensions code project , modify need it.
seems case several flask-extensions involve more view/template code pure infrastructure (like flask-security/flask-login, etc.)
Comments
Post a Comment