-
Notifications
You must be signed in to change notification settings - Fork 721
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
*: log format for release-2.1 #1625
Conversation
/run-all-tests |
Signed-off-by: nolouch <nolouch@gmail.com>
* log format for schedule, scheduler, syncer, api Signed-off-by: rleungx <rleungx@gmail.com>
pdctl, api: support hex format keys Signed-off-by: disksing <i@disksing.com>
* log format for tools, client, pkg, table, simulator Signed-off-by: rleungx <rleungx@gmail.com>
* *: log format for server Signed-off-by: nolouch <nolouch@gmail.com>
* *: log format for logutil,server/core
* improve some logs Signed-off-by: Ryan Leung <rleungx@gmail.com>
/run-all-tests tidb=release-2.1 tikv=release-2.1 tidb-test=release-2.1 |
/run-integration-ddl-test tidb=release-2.1 tikv=release-2.1 tidb-test=release-2.1 |
Why do we need this? Should we only cherry-pick bug fixes to release branches? |
Because 2.1 will still exist for a long time, so our business version needs it, and |
* pkg,tools: improve the log message Signed-off-by: nolouch <nolouch@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>=
/run-all-tests tidb=release-2.1 tikv=release-2.1 tidb-test=release-2.1 |
/run-integration-ddl-test tidb=release-2.1 tikv=release-2.1 tidb-test=release-2.1 |
|
||
// TODO: update etcd | ||
// cfg.ZapLoggerBuilder = embed.NewZapCoreLoggerBuilder(c.logger, c.logger.Core(), c.logSyncer) | ||
// cfg.Logger = "zap" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2.1 will not print any etcd log after this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as before.
Signed-off-by: nolouch <nolouch@gmail.com>
PTAL @disksing @shafreeck |
/run-all-tests tidb=release-2.1 tikv=release-2.1 tidb-test=release-2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why there is some logic not related to log format?
} | ||
buf = append(buf, c) | ||
} | ||
} | ||
return string(buf), nil | ||
} | ||
|
||
// NewRegionsWithStartKeyCommand returns regions from startkey subcommand of regionCmd. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not know why cherry-pick
will contain it, maybe I miss it when I resolve conflict it.
Signed-off-by: nolouch <nolouch@gmail.com>
/run-all-tests tidb=release-2.1 tikv=release-2.1 tidb-test=release-2.1 |
Signed-off-by: nolouch nolouch@gmail.com
What problem does this PR solve?
cherry-pick
https://github.com/pingcap/pd/pulls?q=is%3Apr+label%3Aarea%2Flog+is%3Aclosed
Check List
Tests