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

pump client: add initial log function #165

Merged
merged 2 commits into from
Jan 14, 2019
Merged

pump client: add initial log function #165

merged 2 commits into from
Jan 14, 2019

Conversation

WangXiangUSTC
Copy link
Contributor

What problem does this PR solve?

need print pump client's log in tidb, use tidb's log config.
https://internal.pingcap.net/jira/browse/TOOL-764

What is changed and how it works?

use tidb's log config function

Check List

Tests

  • Manual test

@WangXiangUSTC
Copy link
Contributor Author

@GregoryIan @july2993 PTAL

Copy link
Contributor

@july2993 july2993 left a comment

Choose a reason for hiding this comment

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

rest LGTM

@@ -49,7 +50,7 @@ const (
)

var (
// Logger is ...
// Logger is ..., obsolete now.
Logger = log.New()
Copy link
Contributor

Choose a reason for hiding this comment

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

just delete it if no use

Copy link
Contributor Author

Choose a reason for hiding this comment

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

need update tidb's code, and then I will clean all obsolete fields

@IANTHEREAL
Copy link
Collaborator

LGTM

Copy link
Contributor

@july2993 july2993 left a comment

Choose a reason for hiding this comment

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

LGTM

@WangXiangUSTC WangXiangUSTC merged commit 08394fc into master Jan 14, 2019
@WangXiangUSTC WangXiangUSTC deleted the xiang/log branch January 15, 2019 02:51
WangXiangUSTC added a commit to WangXiangUSTC/tidb-tools that referenced this pull request Mar 25, 2019
IANTHEREAL pushed a commit that referenced this pull request Mar 29, 2019
… strategy config (#223)

* pump client: compatible with kafka version tidb-binlog && add unit test (#139)

* pump client: write commit binlog will never return error (#148)

* pkg watcher: move watcher from tidb-enterprise-tools (#146)

* pump client: increase retry time, and refine some code (#158)

* pump client: add initial log function (#165)

* pump client: support change select pump's strategy (#221)
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.

3 participants