Skip to content

[Logger] [Processor] additional info on processor #11825

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 26, 2019

Conversation

noniagriconomie
Copy link
Contributor

@noniagriconomie noniagriconomie commented Jun 25, 2019

Hi,

I was reading doc around log/monolog and testing some features (processor here).
I think this is an addition to have in the doc.

Edit :
I also have a question, I can see that monolog, which is the main php logger lib, is not "actively maintained", maybe the maintainer(s) are busy on other projects which is normal

Question is: do you think it can be included as it is as a symfony component ? so that it can get more visibility/documentation and so community maintainers

just asking like that :)

@noniagriconomie noniagriconomie changed the title Update processors.rst [Log] [Processor] additional info on processor Jun 25, 2019
@noniagriconomie noniagriconomie changed the title [Log] [Processor] additional info on processor [Logger] [Processor] additional info on processor Jun 26, 2019
Copy link
Member

@weaverryan weaverryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s some good stuff here :).

About your question: Monolog is still maintained, but yea, Jordi (the main maintainer is quite busy). It is a library that we “sorta” consider a responsibility of Symfony and we do discuss keeping it maintained. I don’t think there are plans to bring it into Symfony, but we should make sure it’s getting the attention it needs.

What made you think it was abandoned? Just lack of activity?

only for a specific handler.
Monolog allows you to process every record before logging it by adding some
extra data. This is the role of a processor, which can be applied for the whole
handler stack or only for a specific handler or channel.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@noniagriconomie
Copy link
Contributor Author

noniagriconomie commented Jul 1, 2019

@weaverryan Thank for your reply

What made you think it was abandoned? Just lack of activity?

I did not write abandoned but not actively maintained
yes indeed, lack of activity in the review/merge IMO (cf https://github.com/Seldaek/monolog/pulse)

Just wanted to ask while opening this PR

I will address your review soon :)

@noniagriconomie
Copy link
Contributor Author

hi @weaverryan

PR is updated accordingly, ready for review :)

@noniagriconomie
Copy link
Contributor Author

friendly ping @weaverryan

Copy link
Contributor

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@OskarStark
Copy link
Contributor

OskarStark commented Aug 15, 2019

@noniagriconomie could you please rebase your PR, I had some issues while merging it and give me a ping?

@noniagriconomie
Copy link
Contributor Author

noniagriconomie commented Sep 2, 2019

@OskarStark ping, here you are :)
thank you

EDIT: for the part on the Monolog question

I also have a question, I can see that monolog, which is the main php logger lib, is not "actively maintained", maybe the maintainer(s) are busy on other projects which is normal

Monolog release https://github.com/Seldaek/monolog/releases/tag/2.0.0, so maybe the question is no more important :)

@javiereguiluz javiereguiluz added this to the 4.3 milestone Sep 26, 2019
javiereguiluz added a commit that referenced this pull request Sep 26, 2019
…griconomie)

This PR was squashed before being merged into the 4.3 branch (closes #11825).

Discussion
----------

[Logger] [Processor] additional info on processor

Hi,

I was reading doc around log/monolog and testing some features (processor here).
I think this is an addition to have in the doc.

Edit :
I also have a question, I can see that monolog, which is the main php logger lib, is not "actively maintained", maybe the maintainer(s) are busy on other projects which is normal

Question is: do you think it can be included as it is as a symfony component ? so that it can get more visibility/documentation and so community maintainers

just asking like that :)

Commits
-------

38f5ed7 [Logger] [Processor] additional info on processor
@javiereguiluz javiereguiluz merged commit 38f5ed7 into symfony:4.3 Sep 26, 2019
@javiereguiluz
Copy link
Member

Thanks Antoine. This is merged now!

@noniagriconomie noniagriconomie deleted the patch-3 branch September 26, 2019 11:38
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