From 83a23ad3b1d06155e5861c07762ad51163fda318 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 5 Apr 2014 11:59:18 +0200 Subject: [PATCH] cleaned up log output a little bit --- .../conversations/services/XmppConnectionService.java | 1 - src/eu/siacs/conversations/xmpp/XmppConnection.java | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index f2b000dbf..9dbce675b 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -1070,7 +1070,6 @@ public class XmppConnectionService extends Service { x.addChild("history").setAttribute("seconds", diff + ""); } packet.addChild(x); - Log.d(LOGTAG,conversation.getAccount().getJid()+": joining muc "+packet.toString()); conversation.getAccount().getXmppConnection() .sendPresencePacket(packet); } diff --git a/src/eu/siacs/conversations/xmpp/XmppConnection.java b/src/eu/siacs/conversations/xmpp/XmppConnection.java index 7b26e3d8a..114f0c2fd 100644 --- a/src/eu/siacs/conversations/xmpp/XmppConnection.java +++ b/src/eu/siacs/conversations/xmpp/XmppConnection.java @@ -395,9 +395,6 @@ public class XmppConnection implements Runnable { private void switchOverToZLib(Tag currentTag) throws XmlPullParserException, IOException, NoSuchAlgorithmException { - - Log.d(LOGTAG,account.getJid()+": Starting zlib compressed stream"); - tagReader.readTag(); // read tag close tagWriter.setOutputStream(new ZLibOutputStream(tagWriter.getOutputStream())); @@ -535,13 +532,12 @@ public class XmppConnection implements Runnable { sendSaslAuthDigestMd5(); } } else if (this.streamFeatures.hasChild("sm") && streamId != null) { - Log.d(LOGTAG,"found old stream id. trying to remuse"); ResumePacket resume = new ResumePacket(this.streamId,stanzasReceived); this.tagWriter.writeStanzaAsync(resume); } else if (this.streamFeatures.hasChild("bind") && shouldBind) { sendBindRequest(); if (this.streamFeatures.hasChild("session")) { - Log.d(LOGTAG,"sending session"); + Log.d(LOGTAG,account.getJid()+": sending deprecated session"); IqPacket startSession = new IqPacket(IqPacket.TYPE_SET); startSession.addChild("session","urn:ietf:params:xml:ns:xmpp-session"); //setContent("") this.sendIqPacket(startSession, null); @@ -559,7 +555,6 @@ public class XmppConnection implements Runnable { if (!"method".equals(child.getName())) continue; if ("zlib".equalsIgnoreCase(child.getContent())) { - Log.d(LOGTAG, account.getJid() + ": compression available"); return true; } }