Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

removed pop logger setting that is not required to do by buffalo #2346

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

sio4
Copy link
Member

@sio4 sio4 commented Oct 25, 2022

We don't need to configure a pop logger here. By default, the logger used for the app generated by buffalo will use the following logger if they are configured with pop middleware. This is redundant and it made the buffalo core depends on pop.

https://github.com/gobuffalo/buffalo-pop/blob/e56c88988c60c8567cb7da927354c7d734665b20/pop/popmw/tx.go#L29

Now, we completely decoupled buffalo and pop.

@sio4 sio4 added enhancement New feature or request dependency update module dependencies labels Oct 25, 2022
@sio4 sio4 added this to the v1.1.0 milestone Oct 25, 2022
@sio4 sio4 requested a review from a team as a code owner October 25, 2022 12:38
@sio4 sio4 self-assigned this Oct 25, 2022
Copy link
Member

@paganotoni paganotoni left a comment

Choose a reason for hiding this comment

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

This is great @sio4. Thanks for it.

@paganotoni paganotoni merged commit 2994cc7 into v1 Oct 26, 2022
@paganotoni paganotoni deleted the remove-pop-looger-setting branch October 26, 2022 20:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependency update module dependencies enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants