mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-06 02:58:03 +02:00
lnd: enable logging for sqldb
This commit is contained in:
parent
9a25d7172e
commit
07f60bd910
2
log.go
2
log.go
@ -54,6 +54,7 @@ import (
|
||||
"github.com/lightningnetwork/lnd/routing/localchans"
|
||||
"github.com/lightningnetwork/lnd/rpcperms"
|
||||
"github.com/lightningnetwork/lnd/signal"
|
||||
"github.com/lightningnetwork/lnd/sqldb"
|
||||
"github.com/lightningnetwork/lnd/sweep"
|
||||
"github.com/lightningnetwork/lnd/tor"
|
||||
"github.com/lightningnetwork/lnd/watchtower"
|
||||
@ -204,6 +205,7 @@ func SetupLoggers(root *build.SubLoggerManager, interceptor signal.Interceptor)
|
||||
AddV1SubLogger(root, graphdb.Subsystem, interceptor, graphdb.UseLogger)
|
||||
AddSubLogger(root, chainio.Subsystem, interceptor, chainio.UseLogger)
|
||||
AddSubLogger(root, msgmux.Subsystem, interceptor, msgmux.UseLogger)
|
||||
AddSubLogger(root, sqldb.Subsystem, interceptor, sqldb.UseLogger)
|
||||
}
|
||||
|
||||
// AddSubLogger is a helper method to conveniently create and register the
|
||||
|
Loading…
x
Reference in New Issue
Block a user