Skip to content

Commit

Permalink
Remove some duplicate/unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bklang committed Mar 9, 2012
1 parent 09f333e commit f8c9e2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions lib/blather/stream.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ def connection_completed
# 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
Expand Down Expand Up @@ -237,7 +235,7 @@ def receive(node)
# 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

Expand Down
1 change: 0 additions & 1 deletion lib/blather/stream/features/resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def result
return
end

Blather.log "RESOURCE NODE #{@node}"
# ensure this is a response to our original request
if @id == @node['id']
@stream.jid = JID.new @node.find_first('bind_ns:bind/bind_ns:jid', :bind_ns => BIND_NS).content
Expand Down

0 comments on commit f8c9e2d

Please sign in to comment.