Fix lograge exclusion in params section
Without this fix, we would just see redundant entries in the `params` section:
```
{"method":"GET","path":"/-/metrics","format":"html","controller":"MetricsController","action":"index","status":404,"duration":1.42,"view":0.38,"db":0.0,"time":"2017-07-28T02:59:18.167Z","params":{"controller":"metrics","action":"index"}}
```
The intended format looks more like this:
```
{"method":"GET","path":"/-/metrics","format":"html","controller":"MetricsController","action":"index","status":404,"duration":76.32,"view":69.95,"db":0.0,"time":"2017-07-28T02:59:48.893Z","params":{}}
```
The proper form to exclude an array is to preface with an asterisk:
https://apidock.com/rails/Hash/except
Showing
Please
register
or
sign in
to comment