Skip to content

Commit 8037929

Browse files
committed
terminal: extract RPC proxy
To make the purpose and the flow of the RPC proxy more easy to understand, it is extracted into its own struct and cleaned up.
1 parent 2515633 commit 8037929

File tree

4 files changed

+500
-184
lines changed

4 files changed

+500
-184
lines changed

log.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ func SetupLoggers(root *build.RotatingLogWriter) {
6767
lnd.AddSubLogger(root, "LNDC", lndclient.UseLogger)
6868
lnd.AddSubLogger(root, "STORE", loopdb.UseLogger)
6969
lnd.AddSubLogger(root, lsat.Subsystem, lsat.UseLogger)
70+
71+
// Setup the gRPC loggers too.
72+
grpclog.SetLoggerV2(NewGrpcLogLogger(root, GrpcLogSubsystem))
7073
}
7174

7275
// NewGrpcLogLogger creates a new grpclog compatible logger and attaches it as

0 commit comments

Comments
 (0)