cleaned up log output a little bit

Daniel Gultsch created

Change summary

src/eu/siacs/conversations/services/XmppConnectionService.java | 1 
src/eu/siacs/conversations/xmpp/XmppConnection.java            | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)

Detailed changes

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);
 	}

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;
 			}
 		}