Skip to content

Commit 6f5d38f

Browse files
committed
update
1 parent f87e220 commit 6f5d38f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@ The Sentry SDK team is happy to announce the immediate availability of Sentry La
88

99
- Auto configure Sentry log channels. [(#1042)](https://github.com/getsentry/sentry-laravel/pull/1042)
1010

11+
Configuring the channel is no longer required. To enable logs for Sentry, the following environment variables
12+
need to be configured:
13+
```bash
14+
LOG_CHANNEL=stack
15+
LOG_STACK=single,sentry_logs
16+
SENTRY_ENABLE_LOGS=true
17+
```
18+
19+
Sentry will use `LOG_LEVEL` to determine the minimum log level, but it's possible to overwrite it just for Sentry
20+
using `SENTRY_LOG_LEVEL`.
21+
22+
```bash
23+
LOG_LEVEL=info
24+
SENTRY_LOG_LEVEL=warning
25+
```
26+
1127
### Misc
1228

1329
- Add `sentry.origin` attribute to `LogsHandler`. [(#1041)](https://github.com/getsentry/sentry-laravel/pull/1041)

0 commit comments

Comments
 (0)