From d02a737e0cf78a30486872f849df7354ec09a6fc Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 20 Sep 2016 00:21:14 +0200 Subject: Cleanup debug messages --- bridge/irc/irc.go | 1 + gateway/gateway.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) } } -- cgit v1.2.3