mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-20 15:24:23 +01:00
add commit hash to logs
This commit is contained in:
@@ -14,6 +14,8 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/breez/lspd/build"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -68,6 +70,7 @@ func NewClnPlugin(in, out *os.File) *ClnPlugin {
|
||||
// NOTE: The grpc server is started in the handleInit function.
|
||||
func (c *ClnPlugin) Start() {
|
||||
c.setupLogging()
|
||||
log.Printf(`Starting lspd cln_plugin, tag='%s', revision='%s'`, build.GetTag(), build.GetRevision())
|
||||
go c.listenRequests()
|
||||
<-c.done
|
||||
s := c.server
|
||||
|
||||
Reference in New Issue
Block a user