From 29f658fd3cda71aec88e5eb3fb59b30b19be5508 Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 28 Mar 2020 23:05:59 +0100 Subject: Use DebugWriter after upstream changes (xmpp) --- bridge/xmpp/xmpp.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bridge/xmpp') diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 8f993a83..b5263017 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -114,6 +114,9 @@ func (b *Bxmpp) createXMPP() error { ServerName: strings.Split(b.GetString("Jid"), "@")[1], InsecureSkipVerify: b.GetBool("SkipTLSVerify"), // nolint: gosec } + + xmpp.DebugWriter = b.Log.Writer() + options := xmpp.Options{ Host: b.GetString("Server"), User: b.GetString("Jid"), @@ -122,7 +125,6 @@ func (b *Bxmpp) createXMPP() error { StartTLS: true, TLSConfig: tc, Debug: b.GetBool("debug"), - Logger: b.Log.Writer(), Session: true, Status: "", StatusMessage: "", -- cgit v1.2.3