Skip to content

[DebugBundle] Allow alternative destination for dumps #14640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 15, 2015

Conversation

nicolas-grekas
Copy link
Member

Q A
Bug fix? yes
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #14608
License MIT
Doc PR -

This PR fixes #14608 by adding a new debug.dump_destination configuration option to give users control over a stream destination where dumps will be written to.
In HTTP mode, dumps are still/also collected in the toolbar.
This supersedes #14627, #14631 and #14373

@nicolas-grekas nicolas-grekas force-pushed the dump-stderr branch 2 times, most recently from 63226c7 to 3b0ed54 Compare May 15, 2015 08:02
@stof
Copy link
Member

stof commented May 15, 2015

👍

@fabpot
Copy link
Member

fabpot commented May 15, 2015

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 5f255e5 into symfony:2.6 May 15, 2015
fabpot added a commit that referenced this pull request May 15, 2015
…olas-grekas)

This PR was merged into the 2.6 branch.

Discussion
----------

[DebugBundle] Allow alternative destination for dumps

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #14608
| License       | MIT
| Doc PR        | -

This PR fixes #14608 by adding a new `debug.dump_destination` configuration option to give users control over a stream destination where dumps will be written to.
In HTTP mode, dumps are still/also collected in the toolbar.
This supersedes #14627, #14631 and #14373

Commits
-------

5f255e5 [DebugBundle] Allow alternative destination for dumps
5368483 [DebugBundle] Use output mechanism of dumpers instead of echoing
8cb2abb [DebugBundle] Always collect dumps
@nicolas-grekas nicolas-grekas deleted the dump-stderr branch May 15, 2015 14:33
@MichaelHindley
Copy link

@nicolas-grekas looks great and works as expected, amazing job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants