From 8d4ebab923ae23d1dfbc9b47eeabec33d3605ef5 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 21 May 2023 14:24:33 +0200 Subject: Disable info logging The current log policy is to be quiet if nothing failed to allow to focus on relevant messages. --- limox.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/limox.go b/limox.go index a7c00e1..6c8afa3 100644 --- a/limox.go +++ b/limox.go @@ -81,7 +81,6 @@ func (l *Limox) run() error { func (l *Limox) buttonCallback() { switch l.State { case Disconnected: - log.Println("Starting connection establishment ...") jid := l.JidEditor.Text() pwd := l.PwdEditor.Text() setLastJid(jid) @@ -90,10 +89,8 @@ func (l *Limox) buttonCallback() { go c.Run() l.State = Connecting case Connecting: - log.Println("Aborted connection establishment") l.State = Disconnected case Connected: - log.Println("Disconnecting ...") l.XmppConn <- xmpp.ShouldDisconnectEvent l.State = Disconnected } -- cgit v1.2.3-70-g09d2