diff options
author | Wim <wim@42.be> | 2018-02-28 22:23:29 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-02-28 22:23:29 +0100 |
commit | 594d2155e3cbf06f307d076c95984906b53cb40a (patch) | |
tree | ba5a8e62a1642e6489a0f663b08380d45d50e746 /bridge/xmpp/xmpp.go | |
parent | 20dbd713068347ba9a025e02fb0a101e07e6982c (diff) | |
download | matterbridge-msglm-594d2155e3cbf06f307d076c95984906b53cb40a.tar.gz matterbridge-msglm-594d2155e3cbf06f307d076c95984906b53cb40a.tar.bz2 matterbridge-msglm-594d2155e3cbf06f307d076c95984906b53cb40a.zip |
Improve debug messages
Diffstat (limited to 'bridge/xmpp/xmpp.go')
-rw-r--r-- | bridge/xmpp/xmpp.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 990d6f3b..b1c12555 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -72,7 +72,7 @@ func (b *Bxmpp) Send(msg config.Message) (string, error) { if msg.Event == config.EVENT_MSG_DELETE { return "", nil } - b.Log.Debugf("Receiving %#v", msg) + b.Log.Debugf("=> Receiving %#v", msg) // Upload a file (in xmpp case send the upload URL because xmpp has no native upload support) if msg.Extra != nil { @@ -161,8 +161,8 @@ func (b *Bxmpp) handleXMPP() error { if ok { rmsg.Event = config.EVENT_USER_ACTION } - b.Log.Debugf("Sending message from %s on %s to gateway", rmsg.Username, b.Account) - b.Log.Debugf("Message is %#v", rmsg) + b.Log.Debugf("<= Sending message from %s on %s to gateway", rmsg.Username, b.Account) + b.Log.Debugf("<= Message is %#v", rmsg) b.Remote <- rmsg } case xmpp.Presence: |