log: replace grpc logger with logrus
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
b8e1fa2e15
commit
41aadb3fb0
1 changed files with 8 additions and 0 deletions
8
log/grpc.go
Normal file
8
log/grpc.go
Normal file
|
@ -0,0 +1,8 @@
|
|||
package log
|
||||
|
||||
import "google.golang.org/grpc/grpclog"
|
||||
|
||||
func init() {
|
||||
// completely replace the grpc logger with the logrus logger.
|
||||
grpclog.SetLogger(L)
|
||||
}
|
Loading…
Reference in a new issue