summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-08-25 00:21:26 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-08-25 00:21:54 +0200
commit21b070dd7d65cd60217e446810559ec241d0b826 (patch)
tree0ab9bfede6ba45884cdfc426c1dccab182241a36 /lib
parentf9123dd7e633cdce66d7d0c55aa12bdca00c9406 (diff)
Fixed xds-common version and use last one
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib')
-rw-r--r--lib/syncthing/st.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/syncthing/st.go b/lib/syncthing/st.go
index 53e4688..a750036 100644
--- a/lib/syncthing/st.go
+++ b/lib/syncthing/st.go
@@ -300,7 +300,9 @@ func (s *SyncThing) Connect() error {
return fmt.Errorf("ERROR: cannot connect to Syncthing (null client)")
}
- s.client.SetLogger(s.log)
+ s.client.SetLogLevel(s.log.Level.String())
+ s.client.LoggerPrefix = "SYNCTHING: "
+ s.client.LoggerOut = s.log.Out
return nil
}