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

fix(server/v2): use only one logger for app and server (backport #22241) #22249

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 14, 2024

Description

Closes: #22237


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title, you can find examples of the prefixes below:

  • confirmed ! in the type prefix if API or client breaking change

  • targeted the correct branch (see PR Targeting)

  • provided a link to the relevant issue or specification

  • reviewed "Files changed" and left comments if necessary

  • included the necessary unit and integration tests

  • added a changelog entry to CHANGELOG.md

  • updated the relevant documentation or specification, including comments for documenting Go code

  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

Please see Pull Request Reviewer section in the contributing guide for more information on how to review a pull request.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic, API design and naming, documentation is accurate, tests and test coverage

Summary by CodeRabbit

  • New Features

    • Enhanced context handling for improved modularity.
    • Updated logging level configuration for the CometBFT server.
  • Bug Fixes

    • Improved error handling in command initialization.
  • Refactor

    • Simplified server initialization by removing unnecessary parameters.
    • Consistent naming conventions for logging variables.
    • Streamlined command execution flow.
  • Chores

    • Removed unused logging imports from various files.

This is an automatic backport of pull request #22241 done by [Mergify](https://mergify.com).

(cherry picked from commit 1f941bb)

# Conflicts:
#	server/v2/commands.go
#	server/v2/server.go
#	server/v2/server_test.go
#	server/v2/util.go
Copy link
Contributor Author

mergify bot commented Oct 14, 2024

Cherry-pick of 1f941bb has failed:

On branch mergify/bp/release/v0.52.x/pr-22241
Your branch is up to date with 'origin/release/v0.52.x'.

You are currently cherry-picking commit 1f941bbec.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   simapp/v2/simdv2/cmd/commands.go
	modified:   simapp/v2/simdv2/cmd/config.go
	modified:   simapp/v2/simdv2/cmd/testnet.go

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	deleted by us:   server/v2/commands.go
	deleted by us:   server/v2/server.go
	deleted by us:   server/v2/server_test.go
	deleted by us:   server/v2/util.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify mergify bot added the conflicts label Oct 14, 2024
@mergify mergify bot requested a review from a team as a code owner October 14, 2024 06:10
@julienrbrt julienrbrt self-assigned this Oct 14, 2024
@github-actions github-actions bot added the C:server/v2 Issues related to server/v2 label Oct 14, 2024
Copy link
Contributor

@mergify[bot] your pull request is missing a changelog!

@github-actions github-actions bot removed the C:server/v2 Issues related to server/v2 label Oct 14, 2024
@julienrbrt julienrbrt enabled auto-merge (squash) October 14, 2024 07:00
@julienrbrt julienrbrt merged commit 8abc73a into release/v0.52.x Oct 14, 2024
70 of 72 checks passed
@julienrbrt julienrbrt deleted the mergify/bp/release/v0.52.x/pr-22241 branch October 14, 2024 07:11
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.

1 participant