lib/blather/stream.rb in blather-0.6.2 vs lib/blather/stream.rb in blather-0.7.0
- old
+ new
@@ -159,12 +159,10 @@
end
# Called by EM with data from the wire
# @private
def receive_data(data)
- Blather.log "\n#{'-'*30}\n"
- Blather.log "STREAM IN: #{data}"
@parser << data
rescue ParseError => e
@error = e
send "<stream:error><xml-not-well-formed xmlns='#{StreamError::STREAM_ERR_NS}'/></stream:error>"
@@ -235,10 +233,10 @@
end
# Ensure the JID gets attached to the client
# @private
def jid=(new_jid)
- Blather.log "NEW JID: #{new_jid}"
+ Blather.log "USING JID: #{new_jid}"
@jid = JID.new new_jid
end
protected
# Stop the stream