Skip to content

Commit

Permalink
Update Symfony/Monolog PSR3 information (#11063)
Browse files Browse the repository at this point in the history
  • Loading branch information
HypeMC committed Sep 20, 2024
1 parent db3aad2 commit d4c5d8a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docs/platforms/php/guides/symfony/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,7 @@ monolog:
level: !php/const Monolog\Logger::ERROR
hub_id: Sentry\State\HubInterface
fill_extra_context: true # Enables sending monolog context to Sentry
```
Additionally, you can register the `PsrLogMessageProcessor` to resolve PSR-3 placeholders in reported messages:

{/* <!-- prettier-ignore --> */}
```yaml {filename:config/packages/sentry.yaml}
services:
Monolog\Processor\PsrLogMessageProcessor:
tags: { name: monolog.processor, handler: sentry }
process_psr_3_messages: false # Disables the resolution of PSR-3 placeholders in reported messages
```
## Verify
Expand Down

0 comments on commit d4c5d8a

Please sign in to comment.