summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-09-20 00:21:14 +0200
committerWim <wim@42.be>2016-09-20 00:21:14 +0200
commitd02a737e0cf78a30486872f849df7354ec09a6fc (patch)
tree77ff3f600c31b1f7a8adeb44e9e20182e8872500
parent98ff59c716d15945a1749afc2e9b492399294aac (diff)
downloadmatterbridge-msglm-d02a737e0cf78a30486872f849df7354ec09a6fc.tar.gz
matterbridge-msglm-d02a737e0cf78a30486872f849df7354ec09a6fc.tar.bz2
matterbridge-msglm-d02a737e0cf78a30486872f849df7354ec09a6fc.zip
Cleanup debug messages
-rw-r--r--bridge/irc/irc.go1
-rw-r--r--gateway/gateway.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go
index e07bccc2..1055808a 100644
--- a/bridge/irc/irc.go
+++ b/bridge/irc/irc.go
@@ -91,6 +91,7 @@ func (b *Birc) Origin() string {
}
func (b *Birc) Send(msg config.Message) error {
+ flog.Debugf("Receiving %#v", msg)
if msg.FullOrigin == b.FullOrigin() {
return nil
}
diff --git a/gateway/gateway.go b/gateway/gateway.go
index e1131f19..18ded7cd 100644
--- a/gateway/gateway.go
+++ b/gateway/gateway.go
@@ -105,7 +105,7 @@ func (gw *Gateway) handleMessage(msg config.Message, dest bridge.Bridge) {
return
}
gw.modifyMessage(&msg, dest)
- log.Debugf("sending %#v from %s to %s", msg, msg.Origin, dest.Origin())
+ log.Debugf("Sending %#v from %s to %s", msg, msg.FullOrigin, dest.FullOrigin())
dest.Send(msg)
}
}