Re: Logging of full trace with Debug set to False

2019-01-29 Thread Kevin Olbrich
Hi! Seems like things were improved since then: https://docs.sentry.io/platforms/python/celery/ There is an integration that I can enable which should take care of things. I realy like Sentry. Currently I use the free tier while I check how to setup my own node. Some of my Apps already send Exc

Re: Logging of full trace with Debug set to False

2019-01-28 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, Jan 28, 2019 at 04:45:44AM -0800, Kevin Olbrich wrote: > Hi Anirudh, > > I am using uWSGI and not Gunicorn. At least for uWSGI, with Debug = False, > it only logs the HTTP status code but not exception (might be the same with > Gunicorn).

Re: Logging of full trace with Debug set to False

2019-01-28 Thread Kevin Olbrich
Hi Anirudh, I am using uWSGI and not Gunicorn. At least for uWSGI, with Debug = False, it only logs the HTTP status code but not exception (might be the same with Gunicorn). I will try Sentry which provides a clean GUI and notification of new problems. This also seems to work for my Celery task

Re: Logging of full trace with Debug set to False

2019-01-28 Thread Kevin Olbrich
Hi Michal, looks very promissing. I read the SDK guide for Django and I realy like it. Thank you! Kevin Am Montag, 28. Januar 2019 12:20:35 UTC+1 schrieb Michal Petrucha: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On Mon, Jan 28, 2019 at 02:53:55AM -0800, Kevin Olbrich wrote: >

Re: Logging of full trace with Debug set to False

2019-01-28 Thread Anirudh Jain
You can setup a logging and debugging logging system using gunicorn in production using flags :- --log-level debug --access-logfile /home/ubuntu/websitelogs.log For more setting options read gunicorn documentation https://docs.gunicorn.org/en/stable/settings.html#logging On Mon, 28 Jan 2019, 1

Re: Logging of full trace with Debug set to False

2019-01-28 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, Jan 28, 2019 at 02:53:55AM -0800, Kevin Olbrich wrote: > Hi! > > I would like to catch and send all exceptions to a logging system. > When Debug is set to False, all debug related information is lost (just a > HTTP 500 error message). > >