在 mobilefirst 7.1 中调试推送通知
Debugging Push notification in mobilefirst 7.1
我有一个 Liberty 服务器群,上面部署了 MobileFirst Platform 7.1。我已经部署了具有 基于标签的通知 实现的推送通知适配器。我在 server.xml 文件中使用以下参数启用了跟踪日志。
<logging traceSpecification="com.ibm.ws.webcontainer*=all:com.ibm.wsspi.webcontainer*=all:HTTPChannel=all"
traceFileName="trace.log"
maxFileSize="30"
maxFiles="20"
traceFormat="BASIC" />
如何使用trace.log[确认推送通知已发送到订阅了标签的所有号码的 GCM.
提前致谢
您可以打开 Naming=all
有关此内容的更多信息,请参阅 this 或者您可以使用
<logging traceSpecification="*=audit=enabled:com.worklight.integration.notification.*=finest=enabled" />
将 "com.ibm.pushworks.*=all" 添加到您的跟踪规范将记录有关 Push 如何与 GCF 和 APNS 通信的消息。
我有一个 Liberty 服务器群,上面部署了 MobileFirst Platform 7.1。我已经部署了具有 基于标签的通知 实现的推送通知适配器。我在 server.xml 文件中使用以下参数启用了跟踪日志。
<logging traceSpecification="com.ibm.ws.webcontainer*=all:com.ibm.wsspi.webcontainer*=all:HTTPChannel=all"
traceFileName="trace.log"
maxFileSize="30"
maxFiles="20"
traceFormat="BASIC" />
如何使用trace.log[确认推送通知已发送到订阅了标签的所有号码的 GCM.
提前致谢
您可以打开 Naming=all
有关此内容的更多信息,请参阅 this 或者您可以使用
<logging traceSpecification="*=audit=enabled:com.worklight.integration.notification.*=finest=enabled" />
将 "com.ibm.pushworks.*=all" 添加到您的跟踪规范将记录有关 Push 如何与 GCF 和 APNS 通信的消息。