Skip to content

Commit

Permalink
Merge pull request #238 from alexander-schranz/patch-1
Browse files Browse the repository at this point in the history
Fix monolog confiugration for handler and update paths for symfony 4
  • Loading branch information
Jean85 committed Sep 17, 2019
2 parents 458c4bf + 142f31a commit cfece50
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ the [PHP specific](https://docs.sentry.io/platforms/php/#php-specific-options) o
If You're using `monolog` for logging e.g. in-app errors, You
can use this handler in order for them to show up in Sentry.

First, define `Sentry\Monolog\Handler` as a service in `app/config/services.yml`
First, define `Sentry\Monolog\Handler` as a service in `config/services.yaml`

```yaml
services:
Expand All @@ -118,10 +118,11 @@ Then enable it in `monolog` config:

```yaml
monolog:
sentry:
type: service
id: sentry.monolog.handler
level: error
handlers:
sentry:
type: service
id: sentry.monolog.handler
level: error
```

## Maintained versions
Expand Down

0 comments on commit cfece50

Please sign in to comment.