Skip to content

Commit

Permalink
docs: add info about disable log entries (#94)
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Georg <[email protected]>
  • Loading branch information
Chris53897 and Chris8934 authored Jul 24, 2024
1 parent 64bdbd5 commit 7740bd2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,28 @@ You can now access the dashboard at: `/admin/messenger` or with the route `zenst

#### `Snapshot`

## Others

### Hide Log-Entries

While you run `php bin/console messenger:consume async [-vv]` you see a lot of messages like this one.

```
[cache] Lock acquired, now computing item "zenstruck_messenger_monitor.worker.xxx" ["key" => "zenstruck_messenger_monitor.worker.xxx"]
```

If you want to not display them, you can disable them with adding `"!cache"` to the console-channels in `config/packages/monolog.yaml`

```yaml
when@dev:
monolog:
handlers:
#...
console:
#...
channels: ["!event", "!doctrine", "!console", "!cache"]
```
## Full Default Bundle Configuration
```yaml
Expand Down

0 comments on commit 7740bd2

Please sign in to comment.