-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
10.13.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
Sentry.init({
dsn:"...", /
integrations: [
Sentry.consoleLoggingIntegration({ levels: ["debug"] }),
],
});
//consts
const topic = "logs"
const status = "ok"
const supabaseError = "supabaseError"
//write log
console.debug('Console debug log', {
time: new Date().toISOString(),
topic: topic,
status: status,
error: supabaseError,
});
//send log to Sentry
Sentry.logger.error('Sentry logger log', {
time: new Date().toISOString(),
topic: topic,
status: status,
error: supabaseError,
Steps to Reproduce
- run a script like the above
- go to Explore -> Logs
Expected Result
The attributes set in the console.debug are individually added and can be used to filter logs, like the attributes added to the Sentry.logger call:

Actual Result
Logs are reported under "parameter.0" and grouped together, making it not possible to search by them individually.

Additional Context
Tip: React with π to help prioritize this issue. Please use comments to provide useful context, avoiding +1
or me too
, to help us triage it.
rodolfoBee and jbojcic1
Metadata
Metadata
Assignees
Projects
Status
Waiting for: Product Owner