[Grok-dev] zope.app.appsetup and error reporting utility
janwijbrand at gmail.com
Wed Mar 6 14:23:11 UTC 2013
Hi Sylvain, Christian,
I have something called "grokcore.error" now. I will move this to github
soon (it is still in our internal repo). Sylvain had a look already and
made some comments.
When pushed to github, I can explain the thinking for this package.
On 3/5/13 1:56 PM, Christian Klinger wrote:
> it would be nice if we can have the product-specific configuration in
> this new environment too. We use this feature often in our applications.
> Jan-Wijbrand Kolman schrieb:
>> On 3/4/13 11:18 AM, Sylvain Viollon wrote:
>>>> This error reporting utility could go in grokcore.error.
>>> Error reporting should be pluggable, and you should have the
>>> possibility to have different backend, one or multiple used at once.
>>> I experimented with this in infrae.wsgi, the idea is to have the
>>> possibility to log in more complicated systems, like sentry, while
>>> keeping the maximum of information on your request, without monkey
>> Indeed. The whole reason for this vague proposal is being able to log
>> exceptions to sentry.
>> We have now have a prototype of a sentry-aware error reporting utility
>> (ERU), that decorates the log records being emitted with sentry-specific
>> So, it is still the sentry-aware *log handler* that actually pushes the
>> errors to sentry, but the "extra" information useful to sentry is added
>> to the log records by the sentry-aware ERU.
>> I'll try to move this forward a little more, by first getting these
>> prototypes I have right now into testing and production in our apps and
>> step-by-step move the code to grok (the package) and grokcore.error.
>> regards, jw
More information about the Grok-dev