@@ -44,6 +44,7 @@ func lazyInitialize() {
logFilePath := filepath.Join(logDir, "log")
lumberJackLogger := &lumberjack.Logger{
Filename: logFilePath,
+ MaxSize: 1,
MaxAge: 10,
}
@@ -9,5 +9,6 @@ require (
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/pkg/errors v0.8.1
go.uber.org/zap v1.23.0
+ google.golang.org/grpc v1.29.1
gopkg.in/natefinch/lumberjack.v2 v2.0.0
)