Created
October 8, 2008 20:46
-
-
Save bmizerany/15585 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["connected"] | |
["receive", | |
#<AMQP::Frame::Method:0x569474 | |
@channel=0, | |
@payload= | |
#<AMQP::Protocol::Connection::Start:0x568718 | |
@debug=1, | |
@locales="en_US", | |
@mechanisms="PLAIN AMQPLAIN", | |
@server_properties= | |
{:version=>"%%VERSION%%", | |
:platform=>"Erlang/OTP", | |
:copyright=> | |
"Copyright (C) 2007-2008 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.", | |
:product=>"RabbitMQ", | |
:information=>"Licensed under the MPL. See http://www.rabbitmq.com/"}, | |
@version_major=8, | |
@version_minor=0>>] | |
["send", | |
#<AMQP::Frame::Method:0x520db4 | |
@channel=0, | |
@payload= | |
#<AMQP::Protocol::Connection::StartOk:0x52173c | |
@client_properties= | |
{:version=>"0.1.0", | |
:platform=>"Ruby/EventMachine", | |
:product=>"AMQP", | |
:information=>"http://github.com/tmm1/amqp"}, | |
@debug=1, | |
@locale="en_US", | |
@mechanism="AMQPLAIN", | |
@response={:LOGIN=>"guest", :PASSWORD=>"guest"}>>] | |
["receive", | |
#<AMQP::Frame::Method:0x40768 | |
@channel=0, | |
@payload= | |
#<AMQP::Protocol::Connection::Tune:0x40074 | |
@channel_max=0, | |
@debug=1, | |
@frame_max=131072, | |
@heartbeat=0>>] | |
["send", | |
#<AMQP::Frame::Method:0x12fac8c | |
@channel=0, | |
@payload= | |
#<AMQP::Protocol::Connection::TuneOk:0x12fae94 | |
@channel_max=0, | |
@debug=1, | |
@frame_max=131072, | |
@heartbeat=0>>] | |
["send", | |
#<AMQP::Frame::Method:0x12f0bb0 | |
@channel=0, | |
@payload= | |
#<AMQP::Protocol::Connection::Open:0x12f0de0 | |
@capabilities="", | |
@debug=1, | |
@insist=nil, | |
@virtual_host="/">>] | |
["receive", | |
#<AMQP::Frame::Method:0x12e6160 | |
@channel=0, | |
@payload= | |
#<AMQP::Protocol::Connection::OpenOk:0x12e5dc8 | |
@debug=1, | |
@known_hosts="blake-2.local:5672">>] | |
["send", | |
#<AMQP::Frame::Method:0x12de2d0 | |
@channel=1, | |
@payload= | |
#<AMQP::Protocol::Channel::Open:0x12de474 @debug=1, @out_of_band=nil>>] | |
["receive", | |
#<AMQP::Frame::Method:0x12d5f18 | |
@channel=1, | |
@payload=#<AMQP::Protocol::Channel::OpenOk:0x12d5b80 @debug=1>>] | |
["send", | |
#<AMQP::Frame::Method:0x12cf938 | |
@channel=1, | |
@payload= | |
#<AMQP::Protocol::Access::Request:0x12cfc80 | |
@active=true, | |
@debug=1, | |
@exclusive=nil, | |
@passive=nil, | |
@read=true, | |
@realm="/data", | |
@write=true>>] | |
["receive", | |
#<AMQP::Frame::Method:0x12c22b0 | |
@channel=1, | |
@payload=#<AMQP::Protocol::Access::RequestOk:0x12c1f18 @debug=1, @ticket=1>>] | |
["send", | |
#<AMQP::Frame::Method:0x12ba920 | |
@channel=1, | |
@payload= | |
#<AMQP::Protocol::Queue::Declare:0x12bad80 | |
@arguments=nil, | |
@auto_delete=true, | |
@debug=1, | |
@durable=nil, | |
@exclusive=nil, | |
@nowait=nil, | |
@passive=nil, | |
@queue="", | |
@ticket=1>>] | |
["receive", | |
#<AMQP::Frame::Method:0x12ab484 | |
@channel=1, | |
@payload= | |
#<AMQP::Protocol::Queue::DeclareOk:0x12ab0ec | |
@consumer_count=0, | |
@debug=1, | |
@message_count=0, | |
@queue="amq.gen-xfmC1kt80cM2Y74kHY1DiA==">>] | |
["send", | |
#<AMQP::Frame::Method:0x12a12b8 | |
@channel=1, | |
@payload= | |
#<AMQP::Protocol::Queue::Bind:0x12a1600 | |
@arguments=nil, | |
@debug=1, | |
@exchange="", | |
@nowait=nil, | |
@queue="amq.gen-xfmC1kt80cM2Y74kHY1DiA==", | |
@routing_key="test_route", | |
@ticket=1>>] | |
["receive", | |
#<AMQP::Frame::Method:0x12936f4 | |
@channel=1, | |
@payload=#<AMQP::Protocol::Queue::BindOk:0x129335c @debug=1>>] | |
["send", | |
#<AMQP::Frame::Method:0x128d088 | |
@channel=1, | |
@payload= | |
#<AMQP::Protocol::Basic::Consume:0x128d470 | |
@consumer_tag=nil, | |
@debug=1, | |
@exclusive=nil, | |
@no_ack=true, | |
@no_local=nil, | |
@nowait=nil, | |
@queue="amq.gen-xfmC1kt80cM2Y74kHY1DiA==", | |
@ticket=1>>] | |
["receive", | |
#<AMQP::Frame::Method:0x127e9ac | |
@channel=1, | |
@payload= | |
#<AMQP::Protocol::Basic::ConsumeOk:0x127e614 | |
@consumer_tag="amq.ctag-T8aZktq6IrwG6FOpGDOrSw==", | |
@debug=1>>] | |
["send", | |
#<AMQP::Frame::Method:0x1276d10 | |
@channel=1, | |
@payload= | |
#<AMQP::Protocol::Basic::Publish:0x1277008 | |
@debug=1, | |
@exchange="", | |
@immediate=nil, | |
@mandatory=nil, | |
@routing_key="test_route", | |
@ticket=1>>] | |
["send", | |
#<AMQP::Frame::Header:0x126ac90 | |
@channel=1, | |
@payload= | |
#<AMQP::Protocol::Header:0x126add0 | |
@klass=AMQP::Protocol::Basic, | |
@properties= | |
{:priority=>0, | |
:content_type=>"application/octet-stream", | |
:delivery_mode=>1}, | |
@size=15, | |
@weight=0>>] | |
["send", #<AMQP::Frame::Body:0x125ac28 @channel=1, @payload="this is a test!">] | |
["receive", | |
#<AMQP::Frame::Method:0x1255b24 | |
@channel=1, | |
@payload= | |
#<AMQP::Protocol::Basic::Deliver:0x125578c | |
@consumer_tag="amq.ctag-T8aZktq6IrwG6FOpGDOrSw==", | |
@debug=1, | |
@delivery_tag=1, | |
@exchange="", | |
@redelivered=false, | |
@routing_key="test_route">>] | |
["receive", | |
#<AMQP::Frame::Header:0x1249644 | |
@channel=1, | |
@payload= | |
#<AMQP::Protocol::Header:0x12495b8 | |
@klass=AMQP::Protocol::Basic, | |
@properties= | |
{:priority=>0, | |
:content_type=>"application/octet-stream", | |
:delivery_mode=>1}, | |
@size=15, | |
@weight=0>>] | |
["receive", | |
#<AMQP::Frame::Body:0x1238ccc @channel=1, @payload="this is a test!">] | |
["disconnected"] | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:severity=>:info, :msg=>"123", :timestamp=>Wed Oct 08 13:47:17 -0700 2008} | |
{:severity=>:debug, | |
:msg=>[1, 2, 3], | |
:timestamp=>Wed Oct 08 13:47:17 -0700 2008} | |
{:severity=>:debug, | |
:msg=>{:one=>1, :two=>2}, | |
:timestamp=>Wed Oct 08 13:47:17 -0700 2008} | |
{:severity=>:error, | |
:msg=> | |
{:type=>:exception, :name=>:Exception, :message=>"123", :backtrace=>nil}, | |
:timestamp=>Wed Oct 08 13:47:17 -0700 2008} | |
{:severity=>:info, | |
:msg=>"123", | |
:timestamp=>Wed Oct 08 13:47:17 -0700 2008, | |
:process_id=>52540} | |
{:process=> | |
{:process_name=>"logger.rb", | |
:process_parent_id=>49948, | |
:thread_id=>109440, | |
:process_id=>52540}, | |
:severity=>:info, | |
:msg=>"123", | |
:timestamp=>Wed Oct 08 13:47:17 -0700 2008} | |
{:session=>"abc", | |
:severity=>:debug, | |
:user=>123, | |
:msg=>"login", | |
:timestamp=>Wed Oct 08 13:47:17 -0700 2008} | |
{:hostname=>"blake-2.local", | |
:tags=>[:webserver, :GET], | |
:session=>"abc", | |
:severity=>:info, | |
:msg=>"Request for /", | |
:timestamp=>Wed Oct 08 13:47:17 -0700 2008} | |
/Users/blakemizerany/projects/amqp/lib/amqp/client.rb:72:in `connection_completed': Disconnected from server (AMQP::Error) | |
from /Users/blakemizerany/projects/amqp/lib/amqp/client.rb:42:in `call' | |
from /Users/blakemizerany/projects/amqp/lib/amqp/client.rb:42:in `process_frame' | |
from /Users/blakemizerany/projects/amqp/lib/amqp/client.rb:100:in `receive_data' | |
from /Users/blakemizerany/.gems/gems/eventmachine-0.12.2/lib/eventmachine.rb:231:in `run_machine' | |
from /Users/blakemizerany/.gems/gems/eventmachine-0.12.2/lib/eventmachine.rb:231:in `run' | |
from logger.rb:7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment