GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
PD changed the log package to logrus a few month ago, we should use the same log package in TiDB. Otherwise, the logs written by PD client will be lost when logging to a file.
*: change the log package to logrus
*: fix golint
Should delete _vendor/src/github.com/ngaut/log/
:) not PD, this is TiDB
But it's in vendor, we are not supposed to touch the code in vendor.
Any clue for TiDB's max log file size?
*: use logutil.InitLogger to set log level.
*: fix build
Merge commit 'dba58e97fc30e23e9a2d5b3a98a48d7cff30b6f6' into coocood/…
Merge branch 'master' into coocood/change-log-pkg
CI failed without _vendor/src/github.com/ngaut/log/
*: add back old log package in vendor to prevent CI failure.
*: update import after merge master
@shenli @andelf PTAL
*: address comment
why this change?
Use the logrus API to implement the same logic.
Would Go1.9 fix time jump?