Skip to content
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

Logger context parameter is ignored #747

Closed
florianajir opened this issue Jul 26, 2023 · 1 comment
Closed

Logger context parameter is ignored #747

florianajir opened this issue Jul 26, 2023 · 1 comment

Comments

@florianajir
Copy link

How do you use Sentry?

Sentry SaaS (sentry.io)

SDK version

4.9.2

Steps to reproduce

Configure sentry in symfony with monolog integration and log a message with context (array):

$this->logger->error('Validation error', ['violations' => $violations]);

Expected result

I expect to have the data provided with message to be viewable in the sentry app.

I'm not sure if it's a bug or simply a limitation of sentry api.

Actual result

Only log message is provided by sentry app.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 Jul 26, 2023
@florianajir
Copy link
Author

I found the solution here: getsentry/sentry-docs#4125 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant