New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sentry doesn't group logging properly #773
Comments
Is this getsentry.com, if not, what version of Sentry? On Thursday, February 7, 2013 at 10:37 PM, memee wrote:
|
Sentry 5.3.3 |
Actually reading this more, the default behavior for a non-exception is to group by message. In this case, you'd want to change your call from: logging.warning('foo bar %s' % 'baz') To be the logging format capable: logging.warning('foo bar %s', 'baz') Sentry will handle the grouping of this like you're expecting On Friday, February 8, 2013 at 1:31 AM, memee wrote:
|
Thank you, it worked. |
Nice solution, thanks! However, is there a way to also aggregate/group messages, created with |
@marjanmo not automatically as that is not supported by the python logging module. You should simply use the supported API if you want that behavior. |
Sentry should group messages logged in this code. The only variable is bundle.obj.order_number.
Instead it creates different groups based on bundle.obj.order_number
The text was updated successfully, but these errors were encountered: