aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-05 11:59:18 +0200
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-05 11:59:18 +0200
commit83a23ad3b1d06155e5861c07762ad51163fda318 (patch)
tree14292c88cf5edd850ba052a37b488a4007d845c0
parentc445b8f4ae8d86e75ba89798dae389b653313aef (diff)
cleaned up log output a little bit
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java1
-rw-r--r--src/eu/siacs/conversations/xmpp/XmppConnection.java7
2 files changed, 1 insertions, 7 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java
index f2b000db..9dbce675 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 7b26e3d8..114f0c2f 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;
}
}