Skip to content

Commit

Permalink
log: remove unused logWriter
Browse files Browse the repository at this point in the history
  • Loading branch information
hieblmi committed Nov 18, 2024
1 parent a853b17 commit dcd4367
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions loopd/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
const Subsystem = "LOOPD"

var (
logWriter *build.RotatingLogWriter
log btclog.Logger
interceptor signal.Interceptor
)
Expand All @@ -30,7 +29,6 @@ var (
func SetupLoggers(root *build.RotatingLogWriter, intercept signal.Interceptor) {
genLogger := genSubLogger(root, intercept)

logWriter = root
log = build.NewSubLogger(Subsystem, genLogger)
interceptor = intercept

Expand Down

0 comments on commit dcd4367

Please sign in to comment.