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

main: make sure the Welcome TiProxy info is always printed. #507

Merged
merged 2 commits into from
Apr 13, 2024
Merged

main: make sure the Welcome TiProxy info is always printed. #507

merged 2 commits into from
Apr 13, 2024

Conversation

yorkhellen
Copy link
Contributor

@yorkhellen yorkhellen commented Apr 12, 2024

What problem does this PR solve?

Issue Number: close #506

Problem Summary:

What is changed and how it works:
update the log level to "info" before print TiProxy info to make sure the info log is always printed.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code
    step 1 set the log level to "error" in config file, such as :
[log]
level = "error"

set 2 start the TiProxy and check the TiProxy info is printed.

Notable changes

  • Has configuration change
  • Has HTTP API interfaces change
  • Has tiproxyctl change
  • Other user behavior changes

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

@ti-chi-bot ti-chi-bot bot requested review from bb7133 and djshow832 April 12, 2024 14:35
Copy link

ti-chi-bot bot commented Apr 12, 2024

Welcome @yorkhellen! It looks like this is your first PR to pingcap/tiproxy 🎉

Copy link

ti-chi-bot bot commented Apr 12, 2024

Hi @yorkhellen. Thanks for your PR.

I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ti-chi-bot ti-chi-bot bot added the size/XS label Apr 12, 2024
@ti-chi-bot ti-chi-bot bot added the lgtm label Apr 13, 2024
Copy link

ti-chi-bot bot commented Apr 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xhebox

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

ti-chi-bot bot commented Apr 13, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-04-13 03:57:00.458352976 +0000 UTC m=+51239.569399424: ☑️ agreed by xhebox.

@ti-chi-bot ti-chi-bot bot added the approved label Apr 13, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

❗ No coverage uploaded for pull request base (main@c51070d). Click here to learn what that means.

Files Patch % Lines
pkg/manager/logger/manager.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #507   +/-   ##
=======================================
  Coverage        ?   64.80%           
=======================================
  Files           ?       65           
  Lines           ?     6037           
  Branches        ?        0           
=======================================
  Hits            ?     3912           
  Misses          ?     1821           
  Partials        ?      304           
Flag Coverage Δ
unit 64.80% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ti-chi-bot ti-chi-bot bot merged commit f427940 into pingcap:main Apr 13, 2024
5 checks passed
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.

Make sure the Welcome TiProxy info is always printed.
3 participants