Skip to content
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

support monolog ^3 #600

Closed
wants to merge 1 commit into from
Closed

support monolog ^3 #600

wants to merge 1 commit into from

Conversation

jonnott
Copy link

@jonnott jonnott commented Feb 15, 2023

Description of the change

Support monolog 3 as well as 2.

Type of change

  • New release

Copy link

@Vitaleks Vitaleks left a comment

Choose a reason for hiding this comment

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

Well done

@danielmorell danielmorell linked an issue Feb 15, 2023 that may be closed by this pull request
@danielmorell
Copy link
Collaborator

Hey, @jonnott. Thank you for this PR! Unfortunately, supporting monolog v3 is just a bit more work than adding it to our composer.json file.

It mostly impacts our verbose logging. I have finished updating the codebase and now just need to fix some brittle tests. I will have a PR tomorrow with the updates.

Also, we have an open issue for this #575.

@danielmorell
Copy link
Collaborator

On second thought. @jonnott do you mind if I push my commits to this branch and make them part of this PR?

@danielmorell danielmorell self-requested a review February 15, 2023 16:06
@danielmorell danielmorell added this to the v4.0.0 milestone Feb 15, 2023
@jonnott
Copy link
Author

jonnott commented Feb 15, 2023

On second thought. @jonnott do you mind if I push my commits to this branch and make them part of this PR?

Go ahead!

@danielmorell
Copy link
Collaborator

So, it turned out to be a bit of a massive change. Mostly, because of updates to the tests. Because, of that I put it in its own PR #602. Sorry for the back and forth on that!

@jonnott
Copy link
Author

jonnott commented Feb 16, 2023

So, it turned out to be a bit of a massive change. Mostly, because of updates to the tests. Because, of that I put it in its own PR #602. Sorry for the back and forth on that!

@danielmorell Wow, that is a massive diff, thanks for your hard work. Sorry I'm not able to help more directly, as this is way above my experience level with monolog and Laravel logging internals.

I assume we'll need to wait for a monolog 3-compatible release (v4?) and a new major version of rollbar-php-laravel before this can actually be used with Laravel 10.x though? (as 10.x doesn't support monolog 2)

@danielmorell
Copy link
Collaborator

@danielmorell Wow, that is a massive diff, thanks for your hard work. Sorry I'm not able to help more directly, as this is way above my experience level with monolog and Laravel logging internals.

I assume we'll need to wait for a monolog 3-compatible release (v4?) and a new major version of rollbar-php-laravel before this can actually be used with Laravel 10.x though? (as 10.x doesn't support monolog 2)

The size of the diff is mostly from updating the tests.

We should be able to release a v8 beta of rollbar-php-laravel that uses the beta of rollbar-php v4. That would at least provide a way to do some early testing.

There is one more major fix that is needed before we release a stable version of v4, and that is a fix for #590.

@danielmorell danielmorell removed this from the v4.0.0 milestone Feb 16, 2023
@danielmorell
Copy link
Collaborator

Closing in favor of #602.

@danielmorell danielmorell removed their request for review February 16, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Monolog 3 support
3 participants