File tree 2 files changed +1
-7
lines changed
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ type ExecutableChecker struct {
36
36
37
37
// NewExecutableChecker creates a new ExecutableChecker
38
38
func NewExecutableChecker () (* ExecutableChecker , error ) {
39
- logutil .InitZapLogger (& logutil.LogConfig {
39
+ logutil .InitLogger (& logutil.LogConfig {
40
40
Config : log.Config {
41
41
Level : "error" ,
42
42
},
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ import (
27
27
"github.com/pingcap/tidb-tools/pkg/etcd"
28
28
"github.com/pingcap/tidb-tools/pkg/utils"
29
29
"github.com/pingcap/tidb-tools/tidb-binlog/node"
30
- "github.com/pingcap/tidb/util/logutil"
31
30
pb "github.com/pingcap/tipb/go-binlog"
32
31
pd "github.com/tikv/pd/client"
33
32
"go.etcd.io/etcd/mvcc/mvccpb"
@@ -613,8 +612,3 @@ func copyPumps(pumps map[string]*PumpStatus) []*PumpStatus {
613
612
614
613
return ps
615
614
}
616
-
617
- // InitLogger initializes logger.
618
- func InitLogger (cfg * logutil.LogConfig ) error {
619
- return logutil .InitZapLogger (cfg )
620
- }
You can’t perform that action at this time.
0 commit comments