From 21b070dd7d65cd60217e446810559ec241d0b826 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 25 Aug 2017 00:21:26 +0200 Subject: Fixed xds-common version and use last one Signed-off-by: Sebastien Douheret --- lib/syncthing/st.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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 } -- cgit 1.2.3-korg