summaryrefslogtreecommitdiff
path: root/limox.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-05-21 14:24:33 +0200
committerxengineering <me@xengineering.eu>2023-05-21 14:24:33 +0200
commit8d4ebab923ae23d1dfbc9b47eeabec33d3605ef5 (patch)
treebc16b63d71e4f9dce7abf648d43c40a22cf6220e /limox.go
parent8fbe57909d87e9c9c99f4fc6fab0e6b7a115e824 (diff)
downloadlimox-8d4ebab923ae23d1dfbc9b47eeabec33d3605ef5.tar
limox-8d4ebab923ae23d1dfbc9b47eeabec33d3605ef5.tar.zst
limox-8d4ebab923ae23d1dfbc9b47eeabec33d3605ef5.zip
Disable info logging
The current log policy is to be quiet if nothing failed to allow to focus on relevant messages.
Diffstat (limited to 'limox.go')
-rw-r--r--limox.go3
1 files changed, 0 insertions, 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
}