Merge pull request #4652 from MrManPew/patch-3

lnd: show debug level at startup
This commit is contained in:
Conner Fromknecht 2020-10-02 13:16:23 -07:00 committed by GitHub
commit 652ac7fa3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
lnd.go

@ -200,9 +200,9 @@ func Main(cfg *Config, lisCfg ListenerCfg, shutdownChan <-chan struct{}) error {
}()
// Show version at startup.
ltndLog.Infof("Version: %s commit=%s, build=%s, logging=%s",
ltndLog.Infof("Version: %s commit=%s, build=%s, logging=%s, debuglevel=%s",
build.Version(), build.Commit, build.Deployment,
build.LoggingType)
build.LoggingType, cfg.DebugLevel)
var network string
switch {