0

我需要对推送进行一些批量测试,以检测通知到达设备的典型成功率和延迟。我编写了一个服务器代码,它在一段时间内向设备发送通知,稍后我想在设备控制台中检查通知。有没有办法在控制台中查看推送消息和时间戳?即我应该寻找什么消息来检测事件?

我正在遵循http://developer.apple.com/library/ios/#technotes/tn2265/_index.html描述的过程

有人跟着一样吗?日志位置有很多 apsd 名称事件!

4

1 回答 1

1

If the log is verbose, pipe the tail and grep tools to only see the event you are interested in:

tail -f log.txt | grep "Received message for enabled topic"
于 2013-02-25T20:43:54.577 回答