Skip to content

Instantly share code, notes, and snippets.

@fraserxu
Created March 19, 2014 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fraserxu/9638014 to your computer and use it in GitHub Desktop.
Save fraserxu/9638014 to your computer and use it in GitHub Desktop.
ejabberd.log
packet {xmlel,<<"presence">>,[{<<"xml:lang">>,<<>>},{<<"to">>,<<"all@muc.fraser-test.octochat.local/bot">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/muc">>}],[{xmlel,<<"history">>,[{<<"seconds">>,<<"1">>}],[]}]}]}
2014-03-19 09:00:31.992 [debug] <0.27560.68>@mod_muc:start_new_room:548 MUC: open new room 'all'
2014-03-19 09:00:32.016 [info] <0.27566.68>@mod_muc_room:init:203 Created MUC room all@muc.chattest.octochat.local by bot@chattest.octochat.local/32801785511395219631615292
2014-03-19 09:00:32.017 [debug] <0.27554.68>@ejabberd_router:do_route:222 route
from {jid,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>}
to {jid,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>}
packet {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"to">>,<<"all@muc.chattest.octochat.local">>},{<<"type">>,<<"set">>},{<<"id">>,<<"create1">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/muc#owner">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"submit">>}],[]}]}]}
2014-03-19 09:00:32.017 [debug] <0.27554.68>@mod_muc:route_to_room:365 MUC: send to process <0.27566.68>
2014-03-19 09:00:32.018 [debug] <0.27554.68>@ejabberd_c2s:send_text:1507 Send XML on stream = <<"<presence from='bot@chattest.octochat.local/32801785511395219631615292' to='bot@chattest.octochat.local/32801785511395219631615292' xml:lang=''/>">>
2014-03-19 09:00:32.018 [info] <0.27565.68>@mod_muc_room:init:203 Created MUC room all@muc.fraser-test.octochat.local by bot@fraser-test.octochat.local/20450856901395219631619570
2014-03-19 09:00:32.018 [debug] <0.27566.68>@ejabberd_router:do_route:222 route
from {jid,<<"all">>,<<"muc.chattest.octochat.local">>,<<"bot">>,<<"all">>,<<"muc.chattest.octochat.local">>,<<"bot">>}
to {jid,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>}
packet {xmlel,<<"presence">>,[{<<"xml:lang">>,<<>>},{<<"to">>,<<"all@muc.chattest.octochat.local/bot">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/muc#user">>}],[{xmlel,<<"item">>,[{<<"jid">>,<<"bot@chattest.octochat.local/32801785511395219631615292">>},{<<"affiliation">>,<<"owner">>},{<<"role">>,<<"moderator">>}],[]},{xmlel,<<"status">>,[{<<"code">>,<<"110">>}],[]},{xmlel,<<"status">>,[{<<"code">>,<<"201">>}],[]}]}]}
2014-03-19 09:00:32.018 [debug] <0.27566.68>@ejabberd_local:do_route:310 local route
from {jid,<<"all">>,<<"muc.chattest.octochat.local">>,<<"bot">>,<<"all">>,<<"muc.chattest.octochat.local">>,<<"bot">>}
to {jid,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>}
packet {xmlel,<<"presence">>,[{<<"xml:lang">>,<<>>},{<<"to">>,<<...>>}],[{xmlel,<<...>>,...}]}
2014-03-19 09:00:32.019 [debug] <0.27566.68>@ejabberd_sm:do_route:354 session manager
from {jid,<<"all">>,<<"muc.chattest.octochat.local">>,<<"bot">>,<<"all">>,<<"muc.chattest.octochat.local">>,<<"bot">>}
to {jid,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>}
packet {xmlel,<<"presence">>,[{<<"xml:lang">>,<<>>},{<<"to">>,<<...>>}],[{xmlel,<<...>>,...}]}
2014-03-19 09:00:32.019 [debug] <0.27566.68>@ejabberd_sm:do_route:370 sending to process <0.27554.68>
2014-03-19 09:00:32.019 [debug] <0.27566.68>@ejabberd_router:do_route:222 route
from {jid,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>}
to {jid,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>}
packet {xmlel,<<"message">>,[{<<"type">>,<<"groupchat">>}],[{xmlel,<<"subject">>,[],[]},{xmlel,<<"body">>,[],[]}]}
2014-03-19 09:00:32.019 [debug] <0.27566.68>@ejabberd_local:do_route:310 local route
from {jid,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>}
to {jid,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>}
packet {xmlel,<<"message">>,[{<<"type">>,<<"grou"...>>}],[{xmlel,<<...>>,...},{xmlel,...}]}
2014-03-19 09:00:32.020 [debug] <0.27566.68>@ejabberd_sm:do_route:354 session manager
from {jid,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>}
to {jid,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>}
packet {xmlel,<<"message">>,[{<<"type">>,<<"grou"...>>}],[{xmlel,<<...>>,...},{xmlel,...}]}
2014-03-19 09:00:32.020 [debug] <0.27566.68>@ejabberd_sm:do_route:370 sending to process <0.27554.68>
2014-03-19 09:00:32.020 [debug] <0.27566.68>@ejabberd_router:do_route:222 route
from {jid,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>}
to {jid,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>}
packet {xmlel,<<"iq">>,[{<<"id">>,<<"create1">>},{<<"type">>,<<"result">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/muc#owner">>}],[]}]}
2014-03-19 09:00:32.020 [debug] <0.27566.68>@ejabberd_local:do_route:310 local route
from {jid,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>}
to {jid,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>}
packet {xmlel,<<"iq">>,[{<<"id">>,<<"crea"...>>},{<<"type">>,<<...>>}],[{xmlel,<<...>>,...}]}
2014-03-19 09:00:32.020 [debug] <0.27566.68>@ejabberd_sm:do_route:354 session manager
from {jid,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>,<<"all">>,<<"muc.chattest.octochat.local">>,<<>>}
to {jid,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>,<<"bot">>,<<"chattest.octochat.local">>,<<"32801785511395219631615292">>}
packet {xmlel,<<"iq">>,[{<<"id">>,<<"crea"...>>},{<<"type">>,<<...>>}],[{xmlel,<<...>>,...}]}
2014-03-19 09:00:32.020 [debug] <0.27566.68>@ejabberd_sm:do_route:370 sending to process <0.27554.68>
2014-03-19 09:00:32.021 [debug] <0.27554.68>@ejabberd_c2s:send_text:1507 Send XML on stream = <<"<presence from='all@muc.chattest.octochat.local/bot' to='bot@chattest.octochat.local/32801785511395219631615292' xml:lang=''><x xmlns='http://jabber.org/protocol/muc#user'><item jid='bot@chattest.octochat.local/32801785511395219631615292' affiliation='owner' role='moderator'/><status code='110'/><status code='201'/></x></presence>">>
2014-03-19 09:00:32.021 [debug] <0.27560.68>@ejabberd_router:do_route:222 route
from {jid,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>}
to {jid,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>}
packet {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"to">>,<<"all@muc.fraser-test.octochat.local">>},{<<"type">>,<<"set">>},{<<"id">>,<<"create1">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/muc#owner">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"submit">>}],[]}]}]}
2014-03-19 09:00:32.021 [debug] <0.27560.68>@mod_muc:route_to_room:365 MUC: send to process <0.27565.68>
2014-03-19 09:00:32.021 [debug] <0.27554.68>@ejabberd_c2s:send_text:1507 Send XML on stream = <<"<message from='all@muc.chattest.octochat.local' to='bot@chattest.octochat.local/32801785511395219631615292' type='groupchat'><subject/><body/></message>">>
2014-03-19 09:00:32.021 [debug] <0.27560.68>@ejabberd_c2s:send_text:1507 Send XML on stream = <<"<presence from='bot@fraser-test.octochat.local/20450856901395219631619570' to='bot@fraser-test.octochat.local/20450856901395219631619570' xml:lang=''/>">>
2014-03-19 09:00:32.022 [debug] <0.27554.68>@ejabberd_c2s:send_text:1507 Send XML on stream = <<"<iq from='all@muc.chattest.octochat.local' to='bot@chattest.octochat.local/32801785511395219631615292' id='create1' type='result'><query xmlns='http://jabber.org/protocol/muc#owner'/></iq>">>
2014-03-19 09:00:32.022 [debug] <0.27565.68>@ejabberd_router:do_route:222 route
from {jid,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<"bot">>,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<"bot">>}
to {jid,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>}
packet {xmlel,<<"presence">>,[{<<"xml:lang">>,<<>>},{<<"to">>,<<"all@muc.fraser-test.octochat.local/bot">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/muc#user">>}],[{xmlel,<<"item">>,[{<<"jid">>,<<"bot@fraser-test.octochat.local/20450856901395219631619570">>},{<<"affiliation">>,<<"owner">>},{<<"role">>,<<"moderator">>}],[]},{xmlel,<<"status">>,[{<<"code">>,<<"110">>}],[]},{xmlel,<<"status">>,[{<<"code">>,<<"201">>}],[]}]}]}
2014-03-19 09:00:32.022 [debug] <0.27565.68>@ejabberd_local:do_route:310 local route
from {jid,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<"bot">>,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<"bot">>}
to {jid,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>}
packet {xmlel,<<"presence">>,[{<<"xml:lang">>,<<>>},{<<"to">>,<<...>>}],[{xmlel,<<...>>,...}]}
2014-03-19 09:00:32.023 [debug] <0.27565.68>@ejabberd_sm:do_route:354 session manager
from {jid,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<"bot">>,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<"bot">>}
to {jid,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>}
packet {xmlel,<<"presence">>,[{<<"xml:lang">>,<<>>},{<<"to">>,<<...>>}],[{xmlel,<<...>>,...}]}
2014-03-19 09:00:32.023 [debug] <0.27565.68>@ejabberd_sm:do_route:370 sending to process <0.27560.68>
2014-03-19 09:00:32.024 [debug] <0.27565.68>@ejabberd_router:do_route:222 route
from {jid,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>}
to {jid,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>}
packet {xmlel,<<"message">>,[{<<"type">>,<<"groupchat">>}],[{xmlel,<<"subject">>,[],[]},{xmlel,<<"body">>,[],[]}]}
2014-03-19 09:00:32.024 [debug] <0.27560.68>@ejabberd_c2s:send_text:1507 Send XML on stream = <<"<presence from='all@muc.fraser-test.octochat.local/bot' to='bot@fraser-test.octochat.local/20450856901395219631619570' xml:lang=''><x xmlns='http://jabber.org/protocol/muc#user'><item jid='bot@fraser-test.octochat.local/20450856901395219631619570' affiliation='owner' role='moderator'/><status code='110'/><status code='201'/></x></presence>">>
2014-03-19 09:00:32.024 [debug] <0.27565.68>@ejabberd_local:do_route:310 local route
from {jid,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>}
to {jid,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>}
packet {xmlel,<<"message">>,[{<<"type">>,<<"grou"...>>}],[{xmlel,<<...>>,...},{xmlel,...}]}
2014-03-19 09:00:32.024 [debug] <0.27565.68>@ejabberd_sm:do_route:354 session manager
from {jid,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>}
to {jid,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>}
packet {xmlel,<<"message">>,[{<<"type">>,<<"grou"...>>}],[{xmlel,<<...>>,...},{xmlel,...}]}
2014-03-19 09:00:32.024 [debug] <0.27565.68>@ejabberd_sm:do_route:370 sending to process <0.27560.68>
2014-03-19 09:00:32.025 [debug] <0.27565.68>@ejabberd_router:do_route:222 route
from {jid,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>}
to {jid,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>}
packet {xmlel,<<"iq">>,[{<<"id">>,<<"create1">>},{<<"type">>,<<"result">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/muc#owner">>}],[]}]}
2014-03-19 09:00:32.025 [debug] <0.27560.68>@ejabberd_c2s:send_text:1507 Send XML on stream = <<"<message from='all@muc.fraser-test.octochat.local' to='bot@fraser-test.octochat.local/20450856901395219631619570' type='groupchat'><subject/><body/></message>">>
2014-03-19 09:00:32.025 [debug] <0.27565.68>@ejabberd_local:do_route:310 local route
from {jid,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>}
to {jid,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>}
packet {xmlel,<<"iq">>,[{<<"id">>,<<"crea"...>>},{<<"type">>,<<...>>}],[{xmlel,<<...>>,...}]}
2014-03-19 09:00:32.025 [debug] <0.27565.68>@ejabberd_sm:do_route:354 session manager
from {jid,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>,<<"all">>,<<"muc.fraser-test.octochat.local">>,<<>>}
to {jid,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>,<<"bot">>,<<"fraser-test.octochat.local">>,<<"20450856901395219631619570">>}
packet {xmlel,<<"iq">>,[{<<"id">>,<<"crea"...>>},{<<"type">>,<<...>>}],[{xmlel,<<...>>,...}]}
2014-03-19 09:00:32.025 [debug] <0.27565.68>@ejabberd_sm:do_route:370 sending to process <0.27560.68>
2014-03-19 09:00:32.025 [debug] <0.27560.68>@ejabberd_c2s:send_text:1507 Send XML on stream = <<"<iq from='all@muc.fraser-test.octochat.local' to='bot@fraser-test.octochat.local/20450856901395219631619570' id='create1' type='result'><query xmlns='http://jabber.org/protocol/muc#owner'/></iq>">>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment