Commit Graph

69 Commits

Author SHA1 Message Date
xhe
ba35a37b72 util: use one logger (#39176)
close pingcap/tidb#38941
2022-11-16 14:43:55 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
4bdd20b540 *: support 2-phases flashback cluster (#38164)
ref pingcap/tidb#37961, close pingcap/tidb#38554
2022-10-26 17:01:58 +08:00
fe4e6ba749 kv,store/copr: make kv.KeyRange the same with coprocessor.KeyRange, so we can use unsafe optimization (#37288)
close pingcap/tidb#37286
2022-08-23 18:20:20 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
911e7cc360 *: enable revive (#35970)
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
fa00fc5cd5 *: set fine grain timeout and update bazel config (#36220) 2022-07-15 11:11:05 +08:00
e50b9430fc *: enable gci (#35823)
ref pingcap/tidb#35345
2022-07-04 14:53:02 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
4e21680458 log: avoid panic on unknown log format (#34360)
close pingcap/tidb#34359
2022-05-04 10:14:54 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
9c64224c49 *: Reduce data inconsistencies (#31547)
ref pingcap/tidb#26833
2022-02-11 13:51:36 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
7a5a8bf057 logutil: add testcase for SlowQueryLogger.MaxDays/MaxSize/MaxBackups (#30316) 2021-12-08 12:57:56 +08:00
d83ee8cfda executor,util: write slow query to slow log no matter what log level (#30461) 2021-12-07 20:49:56 +08:00
46de14d7a1 [logutil]: Fix MaxDays and MaxBackups not working for slow-query-logger (#27625) 2021-11-18 18:15:47 +08:00
680ea4bded *: remove remaining file when exit for TestGlobalLoggerReplace (#29347) 2021-11-16 01:35:06 +08:00
c9f33cbd88 session: add session var to update global logger max days (#27595) 2021-10-27 10:14:48 +08:00
680de922ed *: fix license header (#28085) 2021-09-17 22:26:41 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
ed88b54fc8 util/logutil: Remove useless grpc log in production (#25454) 2021-08-16 13:09:59 +08:00
9f1c6b80f2 util/logutil: migrate to testify (#26322) 2021-07-21 12:59:35 +08:00
014005ab68 util/logutil: remove InitZapLogger (#26315) 2021-07-17 17:39:33 +08:00
bca2f7250f logutil: InitLogger as a more abstract method, deprecated InitZapLogger (#25381) 2021-06-15 10:54:37 +08:00
bbd5b32c2f *: clean up the logging component (#23534) 2021-06-01 10:43:37 +08:00
437a5f6251 *: fix some typos (#24418) 2021-05-07 11:03:53 +08:00
890a358325 store/tikv: resolve logutil dependency (#22566)
Signed-off-by: disksing <i@disksing.com>
2021-01-28 17:26:01 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
4745e1586e go.mod: update br version to resolve cyclic dependency (#20455) 2020-10-15 12:00:36 +08:00
92a04ef024 trace: tee logs to runtime/trace output (#19994) 2020-09-23 18:45:38 +08:00
43764a59b7 RFC + Support of BACKUP and RESTORE statements (#15274) 2020-04-30 19:35:56 +08:00
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
30e2bdcc52 *: remove some debug print in test files (#14977) 2020-02-28 12:52:59 +08:00
6b0972957c config: change enable-slow-log to boolean (#14864) 2020-02-20 15:37:32 +08:00
3a255c5518 *: fix unit tests on the windows platform (#14826) 2020-02-18 15:23:17 +08:00
c39317e890 executor: support turn on/off slow-log by variables (#14016) 2019-12-18 10:48:46 +08:00
0e0faeeb30 *: use filepath instead of path for file operations (#13590) 2019-11-21 13:20:37 +08:00
b8cd65714f *: record and print the plan in slow log. (#12179) 2019-10-17 22:13:19 +08:00
455b2d33e4 config: remove the log-rotate config (#12594)
log-rotate defaults to true and there is not way to turn off it.
provide it in the config file is misleading
2019-10-14 17:13:57 +08:00
1f3af1e4d5 log: support reloading tidb-query-max-log-len after modified (#12491) 2019-10-12 16:42:32 +08:00
cbf4ddc9e2 *: improve the format of the error log (#12155) 2019-09-12 13:30:15 +08:00
31a8e2192e store/tikv,util/logutil: add a function to convert proto.Message to hex format (#11550) 2019-08-09 17:13:32 +08:00
1595c0101e *: replace context.WithValue string key to typed struct{} key (#11675) 2019-08-09 14:11:48 +08:00
036e7e207d *: support new 'log' format for trace (#11681) 2019-08-09 12:43:33 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
f8d74d0682 util/logutil: add some tests to improve test coverage (#10479) 2019-05-31 16:28:11 +08:00
36bb1ae89a log: change slow log time format to compatible with pt-query-digest (#10290) 2019-04-30 09:35:52 +08:00
0cafb707ee ddl: using pingcap/log and unify the log format (#9659) 2019-03-19 14:54:42 +08:00