Skip to content

Commit

Permalink
dont log total public key received
Browse files Browse the repository at this point in the history
  • Loading branch information
abika committed Jul 2, 2015
1 parent 2b32d3e commit 523206f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/kontalk/client/PublicKeyListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import java.util.logging.Logger;
import org.jivesoftware.smack.StanzaListener;
import org.apache.commons.lang.StringUtils;
import org.jivesoftware.smack.packet.IQ;
import org.jivesoftware.smack.packet.Stanza;
import org.jivesoftware.smack.provider.ProviderManager;
Expand All @@ -44,7 +45,7 @@ public PublicKeyListener(Control control) {

@Override
public void processPacket(Stanza packet) {
LOGGER.info("got public key: "+packet.toXML());
LOGGER.info("got public key: "+StringUtils.abbreviate(packet.toXML().toString(), 300));

PublicKeyPublish publicKeyPacket = (PublicKeyPublish) packet;

Expand Down

0 comments on commit 523206f

Please sign in to comment.