Open abkfenris opened 9 years ago
ProxyFix
so that Flask relays right client info to sentry. Flask instructions
Added ProxyFix
to create_app
in baxter\__init__.py
:
def create_app(config_name):
...other stuff
if app.debug:
sentry.init_app(app, logging=True, level=logging.DEBUG)
else:
sentry.init_app(app, logging=True, level=logging.ERROR)
app.wsgi_app = ProxyFix(app.wsgi_app)
This way sentry gives information more like this: than this: Now which is more helpful?
I may want to back down the logging level, so I'm getting a bit more information right now.
Some monitoring/logging setup.
Maybe psdash?