Commit Graph

17 Commits

Author SHA1 Message Date
a2d4bd1df0 log: temporary remove recvTs from context log (#9673) 2019-03-12 17:20:42 +08:00
80110fbf78 *: refactor slow log format and parse slow query log to SLOW_QUERY table. (#9290) 2019-03-11 14:42:29 +08:00
4188ae19c0 log,server: add contextual log util & test it in conn.go (#9548) 2019-03-09 11:23:45 +08:00
6136ab14cf *: start replacing logger with zap logger (#9279) 2019-02-15 16:43:47 +08:00
6ccfec6d2e *: add a variable tidb_query_log_max_len to set the max length of the query string in the log dynamically (#8183) 2018-11-06 11:25:11 +08:00
ec693ce502 *: add a variable tidb_slow_log_threshold to set the slow log threshold dynamically (#8094) 2018-11-05 14:54:07 +08:00
b7f431e5c3 *: migrate dependency management to Go1.11 module (#8054) 2018-11-01 20:54:22 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
a90ee13c9f config: update config template (#5963)
* update config template
2018-03-07 10:56:45 +08:00
50e98f427e config: add validation for configuration (#5864) 2018-03-06 14:56:28 +08:00
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00
04960d4fe9 log_util:let slow query entry keep order (#5732) 2018-01-28 17:26:38 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
07e05e815d ddl, util: Add highlight to log (#4861)
* ddl, util: add highlight to log
2017-10-23 04:04:52 -05:00
7afae3f89c *: support write slow query log into seperate files (#4804) 2017-10-20 14:22:10 +08:00