Skip to content

Commit b79aaee

Browse files
committed
lnd: Update the DebugLevel on main cfg
1 parent 6f6161e commit b79aaee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rpcserver.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6920,6 +6920,9 @@ func (r *rpcServer) DebugLevel(ctx context.Context,
69206920
return nil, err
69216921
}
69226922

6923+
// Propagate the new config level to the main config struct.
6924+
r.cfg.DebugLevel = req.LevelSpec
6925+
69236926
return &lnrpc.DebugLevelResponse{}, nil
69246927
}
69256928

0 commit comments

Comments
 (0)