Skip to content

Commit 719efd5

Browse files
authored
Update CHANGELOG.md
1 parent 949c4e8 commit 719efd5

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

CHANGELOG.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,40 @@
44

55
### Various fixes & improvements
66

7-
- feat(loguru): Sentry logs for Loguru (#4445) by @sentrivana
7+
- **New beta feature:** Sentry logs for Loguru (#4445) by @sentrivana
8+
9+
We can now capture Loguru logs and send them to Sentry.
10+
11+
```python
12+
import sentry_sdk
13+
from sentry_sdk.integrations.loguru import LoguruIntegration
14+
15+
# Setup Sentry SDK to send Loguru log messages with a level of "error" or higher to Sentry
16+
sentry_sdk.init(
17+
_experiments={
18+
"enable_logs": True,
19+
},
20+
integrations=[
21+
LoguruIntegration(sentry_logs_level=logging.ERROR),
22+
]
23+
)
24+
```
25+
826
- fix(logs): Don't gate user behind `send_default_pii` (#4453) by @AbhiPrasad
927
- fix(logging): Strip log `record.name` for more robust matching (#4411) by @romaingd-spi
1028
- Migrate to modern threading interface (#4452) by @emmanuel-ferdman
1129
- ref: Remove `_capture_experimental_log` `scope` parameter (#4424) by @szokeasaurusrex
1230
- feat(logs): Add user attributes to logs (#4423) by @szokeasaurusrex
13-
- tests: Regenerate tox.ini & fix CI (#4435) by @sentrivana
1431
- fix: fix ARQ integration error (#4427) (#4428) by @ninoseki
15-
- Fix CI, adapt to new redis-py release (#4431) by @sentrivana
1632
- fix(grpc): Fix AttributeError when instrumenting with OTel (#4405) by @sentrivana
1733
- fix(redis): Use `command_queue` instead of `command_stack` if available (#4404) by @sentrivana
18-
- tests: Regenerate toxgen (#4403) by @sentrivana
1934
- fix: Handle invalid `SENTRY_DEBUG` values properly (#4400) by @szokeasaurusrex
20-
- build(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 (#4397) by @dependabot
2135
- Increase test coverage (#4393) by @mgaligniana
2236
- tests(logs): avoid failures when running with integrations enabled (#4388) by @rominf
37+
- Fix CI, adapt to new redis-py release (#4431) by @sentrivana
38+
- tests: Regenerate toxgen (#4403) by @sentrivana
39+
- tests: Regenerate tox.ini & fix CI (#4435) by @sentrivana
40+
- build(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 (#4397) by @dependabot
2341

2442
## 2.29.1
2543

0 commit comments

Comments
 (0)