You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love logfire so much and trying to replace all my current loggings with logfire. But some problem I met is that before with the configuration, if we do logger.error in code, it will automatcally trigger a Sentry issue. But now if logifire we lose it.
I checked the docs of logfire but didn't find out how to achieve the same goal with logfire. Can you help me with this?
Here's my sentry configuration.
Thank you!
sentry_logging = LoggingIntegration(
level=logging.WARNING, # Minimum logging level to capture
event_level=logging.WARNING, # Set to logging.WARNING to capture warning and above
)
if settings.SENTRY_DSN:
sentry_sdk.init(
dsn=str(settings.SENTRY_DSN),
integrations=[sentry_logging],
enable_tracing=True,
traces_sample_rate=1.0,
_experiments={
# Set continuous_profiling_auto_start to True
# to automatically start the profiler on when
# possible.
"continuous_profiling_auto_start": True,
},
)
The text was updated successfully, but these errors were encountered:
Question
Hi team,
I love logfire so much and trying to replace all my current loggings with logfire. But some problem I met is that before with the configuration, if we do
logger.error
in code, it will automatcally trigger a Sentry issue. But now if logifire we lose it.I checked the docs of logfire but didn't find out how to achieve the same goal with logfire. Can you help me with this?
Here's my sentry configuration.
Thank you!
The text was updated successfully, but these errors were encountered: