Commit c9be2a1
committed
minor #95 Do not require raven.dsn when a client_id is specified (lyrixx)
This PR was merged into the 2.6.x-dev branch.
Discussion
----------
Do not require raven.dsn when a client_id is specified
Right now, I have the following configuration. And as you can see, the raven.dsn
is useless here, are the client_id service is not buildt by the extension
but by myself.
```yml
monolog:
handlers:
raven:
type: raven
# useless, because we set-up a custom client, but we have to...
dsn: "%raven.dsn%"
client_id: sensiolabs.toolkit.monolog.raven_client
```
So with with patch, we can use:
```yml
monolog:
handlers:
raven:
type: raven
client_id: sensiolabs.toolkit.monolog.raven_client
```
BTW, I don't know the target branch of this PR.
Commits
-------
55aaefd Do not require raven.dsn when a client_id is specifiedFile tree
3 files changed
+34
-11
lines changed- DependencyInjection
- Tests/DependencyInjection
3 files changed
+34
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
573 | | - | |
| 573 | + | |
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
472 | 471 | | |
473 | 472 | | |
474 | | - | |
475 | | - | |
| 473 | + | |
476 | 474 | | |
477 | 475 | | |
478 | 476 | | |
479 | 477 | | |
| 478 | + | |
480 | 479 | | |
481 | 480 | | |
482 | 481 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | | - | |
216 | | - | |
217 | 215 | | |
218 | 216 | | |
219 | 217 | | |
220 | 218 | | |
221 | 219 | | |
222 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
223 | 226 | | |
224 | 227 | | |
225 | 228 | | |
| |||
234 | 237 | | |
235 | 238 | | |
236 | 239 | | |
| 240 | + | |
237 | 241 | | |
| 242 | + | |
| 243 | + | |
238 | 244 | | |
239 | | - | |
| 245 | + | |
240 | 246 | | |
241 | 247 | | |
242 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
243 | 252 | | |
244 | | - | |
245 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
246 | 270 | | |
247 | 271 | | |
248 | 272 | | |
| |||
0 commit comments