when debug adf mobile application, write command tail -f /var/log/system.log in terminal. , following output.
may 6 11:32:42 evosys-imacs-imac.local manager[507]: obj-c [ch-1, state=created abletosend=yes]: message arrived - vmmessage [ type: plain[0x00] prinorty: 2 channelid: -1 messageid: 3 length: 137 body: {41, 44, 46, 4d, 53, 47, 20, 31, 30, 30, 30, 30, 20, 20, 20, 35, 31, 31, 20, 20, 20, 35, 31, 31, 20, 20, 20, 20, 20, 30, 20, 20, 20, 31, 30, 31, 7b, 22, 72, 65, 73, 75, 6c, 74, 22, 3a, 5b, 5d, 2c, 22, 64, 61, 74, 61, 43, 68, 61, 6e, 67, 65, 45, 76, 65, 6e, 74, 22, 3a, 7b, 22, 76, 61, 72, 69, 61, 62, 6c, 65, 43, 68, 61, 6e, 67, 65, 73, 22, 3a, 7b, 22, 76, 69, 65, 77, 53, 63, 6f, 70, 65, 22, 3a, 7b, 22, 2e, 6e, 75, 6c, 6c, 22, 3a, 74, 72, 75, 65, 7d, 7d, 2c, 22, 70, 72, 6f, 76, 69, 64, 65, 72, 43, 68, 61, 6e, 67, 65, 73, 22, 3a, 7b, 7d, 7d, 7d} ]
i have no idea how convert body string,
i sure better awk
way can this, in interest of quick answer
egrep -o '[[:xdigit:]]{2}[,}]' system.log | while read foo printf "\x${foo::2}" done
yields
adfmsg 10000 511 511 0 101{"result":[],"datachangeevent": {"variablechanges":{"viewscope":{".null":true}},"providerchanges":{}}}
Comments
Post a Comment