Skip to content

Logs: Boolean Parameter is casted to number #92711

@czyber

Description

@czyber

How do you use Sentry?

Sentry Saas (sentry.io)

Version

2.29.1

Steps to Reproduce

import sentry_sdk
from sentry_sdk import logger as sentry_logger


sentry_sdk.init(
    ...,
    _experiments={
        "enable_logs": True,
    }

)

sentry_logger.info("Test", label=True)

Expected Result

The parameter is treated as a boolean value, not a number.

Actual Result

Hey, I think the error is not on the sdk side. But i am not sure where to post this instead. Maybe you can route this?

In the Sentry Frontend i get this log:

Image

and searching also sees the label as a number:

Image

Activity

moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on May 28, 2025
getsantry

getsantry commented on Jun 2, 2025

@getsantry
Contributor

Assigning to @getsentry/support for routing ⏲️

moved this from Waiting for: Product Owner to Waiting for: Support in GitHub Issues with 👀 3on Jun 2, 2025
moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Jun 2, 2025
transferred this issue fromgetsentry/sentryon Jun 2, 2025
sentrivana

sentrivana commented on Jun 3, 2025

@sentrivana
Contributor

Transferring this to sentry -- most likely a frontend issue, see also LOGS-121 in Linear

5 remaining items

getsantry

getsantry commented on Jun 3, 2025

@getsantry
Contributor

Assigning to @getsentry/support for routing ⏲️

moved this to Waiting for: Support in GitHub Issues with 👀 3on Jun 3, 2025
getsantry

getsantry commented on Jun 5, 2025

@getsantry
Contributor

Routing to @getsentry/product-owners-unknown for triage ⏲️

moved this from Waiting for: Support to Waiting for: Product Owner in GitHub Issues with 👀 3on Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @Zylphrex@dalnoki@czyber@sentrivana

      Issue actions

        Logs: Boolean Parameter is casted to number · Issue #92711 · getsentry/sentry