logo icon
VerneMQ 客户端追踪

创建时间:2024-08-17 12:41:15
https://docs.vernemq.com/live-administration/tracing vmq-admin trace client client-id= $ vmq-admin trace client client-id=client No sessions found for client "client" New session with PID <7616.3443.1> found for client "client" <7616.3443.1> MQTT RECV: CID: "client" CONNECT(c: client, v: 4, u: username, p: password, cs: 1, ka: 30) <7616.3443.1> Calling auth_on_register({{172,17,0,1},34274},{[],<<"client">>},username,password,true) <7616.3443.1> Hook returned "ok" <7616.3443.1> MQTT SEND: CID: "client" CONNACK(sp: 0, rc: 0) <7616.3443.1> MQTT RECV: CID: "client" SUBSCRIBE(m1) with topics: q:0, t: "topic" <7616.3443.1> Calling auth_on_subscribe(username,{[],<<"client">>}) with topics: q:0, t: "topic" <7616.3443.1> Hook returned "ok" <7616.3443.1> MQTT SEND: CID: "client" SUBACK(m1, qt[0]) <7616.3443.1> Trace session for client stopped 停掉所有追踪 vmq-admin trace stop_all