Skip to content

Commit

Permalink
grpc log follows global log output
Browse files Browse the repository at this point in the history
  • Loading branch information
SabaPing committed Jun 17, 2021
1 parent 66e4c6c commit ac14a4e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions util/logutil/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ func InitLogger(cfg *LogConfig) error {
func initGRPCLogger(cfg *LogConfig) (*zap.Logger, *log.ZapProperties, error) {
// copy Config struct by assignment
config := cfg.Config
// hack: force stdout
config.File.Filename = ""
var l *zap.Logger
var err error
var prop *log.ZapProperties
Expand Down

0 comments on commit ac14a4e

Please sign in to comment.