Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tell about ProcessorInterface in logging/processors #9996

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 2 commits into from
Jul 6, 2018

Conversation

nicolas-grekas
Copy link
Member

fabpot added a commit to symfony/symfony that referenced this pull request Jul 3, 2018
…onfiguration of monolog processors (nicolas-grekas)

This PR was merged into the 4.2-dev branch.

Discussion
----------

[MonologBridge] Add ProcessorInterface, enabling autoconfiguration of monolog processors

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | symfony/symfony-docs#9996

Using this, enabling e.g. TokenProcessor or WebProcessor just needs one line in `services.yaml`:
```yaml
services:
    Symfony\Bridge\Monolog\Processor\TokenProcessor: ~
    Symfony\Bridge\Monolog\Processor\WebProcessor: ~
```

Commits
-------

28a4912 [MonologBridge] Add ProcessorInterface, enabling autoconfiguration of monolog processors
@HeahDude HeahDude added the Logger label Jul 3, 2018
@HeahDude HeahDude added this to the 4.2 milestone Jul 3, 2018
@javiereguiluz
Copy link
Member

Thanks Nicolas.

@javiereguiluz javiereguiluz merged commit ad2bad9 into symfony:master Jul 6, 2018
javiereguiluz added a commit that referenced this pull request Jul 6, 2018
…las-grekas, javiereguiluz)

This PR was merged into the master branch.

Discussion
----------

Tell about ProcessorInterface in logging/processors

Doc for symfony/symfony#27801

Commits
-------

ad2bad9 Minor reword
0c9c90f Tell about ProcessorInterface in logging/processors
@nicolas-grekas nicolas-grekas deleted the proc-autoconf branch July 6, 2018 09:32
lyrixx added a commit to symfony/monolog-bundle that referenced this pull request May 16, 2019
This PR was merged into the 3.x-dev branch.

Discussion
----------

Register processors for autoconfiguration

Replaces symfony/symfony#27801 (which has been reverted meanwhile)
Leverages Seldaek/monolog#1204
Already documented in symfony/symfony-docs#9996 (but doc needs update)

Commits
-------

7fdda67 Register processors for autoconfiguration
dani-danigm pushed a commit to dani-danigm/monolog-bundle that referenced this pull request Jun 15, 2022
This PR was merged into the 3.x-dev branch.

Discussion
----------

Register processors for autoconfiguration

Replaces symfony/symfony#27801 (which has been reverted meanwhile)
Leverages Seldaek/monolog#1204
Already documented in symfony/symfony-docs#9996 (but doc needs update)

Commits
-------

84c0564 Register processors for autoconfiguration
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.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.