Skip to content

Commit

Permalink
Merge pull request #162 from bhandras/challenger-logger
Browse files Browse the repository at this point in the history
log: hook challenger to the main logger
  • Loading branch information
guggero authored Jan 15, 2025
2 parents 3d3e042 + 097297e commit 4d2bc1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions log.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package aperture
import (
"github.com/btcsuite/btclog"
"github.com/lightninglabs/aperture/auth"
"github.com/lightninglabs/aperture/challenger"
"github.com/lightninglabs/aperture/l402"
"github.com/lightninglabs/aperture/proxy"
"github.com/lightninglabs/lndclient"
Expand Down Expand Up @@ -30,6 +31,9 @@ func SetupLoggers(root *build.RotatingLogWriter, intercept signal.Interceptor) {
lnd.AddSubLogger(root, l402.Subsystem, intercept, l402.UseLogger)
lnd.AddSubLogger(root, proxy.Subsystem, intercept, proxy.UseLogger)
lnd.AddSubLogger(root, "LNDC", intercept, lndclient.UseLogger)
lnd.AddSubLogger(
root, challenger.Subsystem, intercept, challenger.UseLogger,
)
}

// genSubLogger creates a logger for a subsystem. We provide an instance of
Expand Down

0 comments on commit 4d2bc1d

Please sign in to comment.