这次查看BES日志,目的看看推送程序是否如愿以偿通过MDS服务向手机上面push了数据。
文件路径和文件名:
C:/Program Files/Research In Motion/BlackBerry Enterprise Server/Logs/20100510
APP_MDAT_01_20100510_0001.txt
文件关键字:
PushServlet
DESTINATION
Pushing message to
EVENT = Sending
EVENT = Receiving
一个完整的Push记录标本:
<2010-05-10 17:49:11.174 CST>:[8241]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = PushServlet: POST request from [UNKNOWN @ 10.xx.xx.xx] to [[email protected]&PORT=911&REQUESTURI=/]>
<2010-05-10 17:49:11.174 CST>:[8241]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<push id: b806e4f:128811fd68a:-7ff4-1274431951>
<2010-05-10 17:49:11.174 CST>:[8242]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = submitting push message with id:b806e4f:128811fd68a:-7ff4-1274431951>
<2010-05-10 17:49:11.174 CST>:[8243]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Executing push submit command for pushID:b806e4f:128811fd68a:-7ff4-1274431951>
<2010-05-10 17:49:11.174 CST>:[8244]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Pushing message to: xxxxyyyy>
<2010-05-10 17:49:11.174 CST>:[8245]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Number of active push connections:1>
<2010-05-10 17:49:11.174 CST>:[8246]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = added server-initiated connection = -784007156, push id = b806e4f:128811fd68a:-7ff4-1274431951>
<2010-05-10 17:49:11.189 CST>:[8247]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = ScheduleJob, JobPool = DefaultJobPool, queueLength = 1, availableThreads = 200>
<2010-05-10 17:49:11.189 CST>:[8248]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = StartJob, name = DefaultJobPool-Thread-184, queueDelay(ms) = 15, JobPool = DefaultJobPool, queueLength = 0, availableThreads = 199>
<2010-05-10 17:49:11.189 CST>:[8249]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = FinishJob, name = DefaultJobPool-Thread-184, timeSpent(ms) = 0, JobPool = DefaultJobPool, queueLength = 0, availableThreads = 199>
<2010-05-10 17:49:11.205 CST>:[8250]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = CreatedSendingQueue, DEVICEPIN = xxxxyyyy, USERID = u2>
<2010-05-10 17:49:11.205 CST>:[8251]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = Sending, TAG = 752288939, DEVICEPIN = xxxxyyyy, USERID = u2, VERSION = 16, CONNECTIONID = -784007156, SEQUENCE = 0, TYPE = NOTIFY-REQUEST, CONNECTIONHANDLER = http, PROTOCOL = TCP, PARAMETERS = [app/10.xx.xx.xx:911], SIZE = 1173>
<2010-05-10 17:49:11.205 CST>:[8252]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Number of active push connections:0>
<2010-05-10 17:49:11.205 CST>:[8253]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SRP, SRPID = TXXXXXXXX[APP:3200], EVENT = Sending, VERSION = 1, COMMAND = SEND, TAG = 752288939, SIZE = 1354>
<2010-05-10 17:49:12.971 CST>:[8254]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SRP, SRPID = TXXXXXXXX[APP:3200], EVENT = Receiving, VERSION = 1, COMMAND = STATUS, TAG = 752288939, SIZE = 10, STATE = DELIVERED>
<2010-05-10 17:49:12.971 CST>:[8255]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = Notification, TAG = 752288939, STATE = DELIVERED>
<2010-05-10 17:49:12.971 CST>:[8256]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Device connections: AVG latency (msecs)1766>
<2010-05-10 17:49:12.971 CST>:[8257]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, DEVICEPIN = xxxxyyyy, DOMAINNAME = app/10.xx.xx.xx, CONNECTION_TYPE = PUSH_CONN, ConnectionId = -784007156, DURATION(ms) = 1782, MFH_KBytes = 0, MTH_KBytes = 1.146, MFH_PACKET_COUNT = 0, MTH_PACKET_COUNT = 1>
<2010-05-10 17:49:12.971 CST>:[8258]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, Removed push connection:-784007156>
<2010-05-10 17:49:13.377 CST>:[8259]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SRP, SRPID = TXXXXXXXX[APP:3200], EVENT = Receiving, VERSION = 1, COMMAND = RECEIVE, TAG = 18711, SIZE = 154>
<2010-05-10 17:49:13.377 CST>:[8260]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = SRP, SRPID = TXXXXXXXX[APP:3200], EVENT = Sending, VERSION = 1, COMMAND = RECEIVE, TAG = 18711, SIZE = 10>
<2010-05-10 17:49:13.377 CST>:[8261]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = Receiving, TAG = -484481824, DEVICEPIN = xxxxyyyy, USERID = u2, VERSION = 16, CONNECTIONID = -784007156, SEQUENCE = 0, TYPE = DISCONNECT-ORDER, SIZE = 0>
<2010-05-10 17:49:18.736 CST>:[8262]:<MDS-CS_APP_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = RemovedSendingQueue, DEVICEPIN = xxxxyyyy, USERID = u2>