Skip to content

[MonologBridge] Ignore empty context/extra by default in the ConsoleFormatter #11496

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 1 commit into from
Sep 30, 2014

Conversation

Seldaek
Copy link
Member

@Seldaek Seldaek commented Jul 28, 2014

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

This adds support for Seldaek/monolog#388 and turns it on by default since the console output is arguably meant for humans and not for machine readable stuff it makes sense I believe. /cc @Tobion

Note: This depends on an unreleased version of monolog and should not be merged until 1.11 is out.

@stof
Copy link
Member

stof commented Aug 14, 2014

👍 (assuming the Monolog release. Is there an ETA for it ?)

@Tobion
Copy link
Contributor

Tobion commented Aug 14, 2014

👍

@Seldaek
Copy link
Member Author

Seldaek commented Sep 30, 2014

1.11 is out so I think this is now mergeable? Ping @fabpot

@fabpot
Copy link
Member

fabpot commented Sep 30, 2014

Thank you @Seldaek.

@fabpot fabpot merged commit 9b69f56 into symfony:master Sep 30, 2014
fabpot added a commit that referenced this pull request Sep 30, 2014
…in the ConsoleFormatter (Seldaek)

This PR was merged into the 2.6-dev branch.

Discussion
----------

[MonologBridge] Ignore empty context/extra by default in the ConsoleFormatter

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

This adds support for Seldaek/monolog#388 and turns it on by default since the console output is arguably meant for humans and not for machine readable stuff it makes sense I believe. /cc @Tobion

**Note:** This depends on an unreleased version of monolog and should not be merged until 1.11 is out.

Commits
-------

9b69f56 [MonologBridge] Ignore empty context/extra by default in the ConsoleFormatter
@mpdude
Copy link
Contributor

mpdude commented Sep 14, 2018

This has (unintentionally?) been reverted/disabled in Symfony 3.3 and above by #21705.

mpdude added a commit to mpdude/symfony that referenced this pull request Sep 14, 2018
This is even enabled by default, which has been the default behaviour since symfony#11496.
nicolas-grekas added a commit that referenced this pull request Sep 20, 2018
…xt and extra data (mpdude)

This PR was squashed before being merged into the 3.4 branch (closes #28471).

Discussion
----------

[MonologBridge] Re-add option option to ignore empty context and extra data

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

In #11496, an option was added to `ConsoleFormatter` to ignore empty context and extra data. This setting was even turned on by default.

The `ConsoleHandler` was then overhauled in #21705. During this change, the option got lost.

Commits
-------

d1e7438 [MonologBridge] Re-add option option to ignore empty context and extra data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants