mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-21 19:50:05 +01:00
lntest: export flag logoutput
This commit temporarily exports the flag `logoutput` so it can be used by `lntemp`.
This commit is contained in:
@@ -609,7 +609,7 @@ func (hn *HarnessNode) startLnd(lndBinary string, lndError chan<- error) error {
|
||||
fileName string
|
||||
err error
|
||||
)
|
||||
if *logOutput {
|
||||
if *LogOutput {
|
||||
fileName, err = addLogFile(hn)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -1843,7 +1843,7 @@ func finalizeLogfile(hn *HarnessNode, fileName string) {
|
||||
hn.logFile.Close()
|
||||
|
||||
// If logoutput flag is not set, return early.
|
||||
if !*logOutput {
|
||||
if !*LogOutput {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user