How can we trace push notifications being sent to

2019-07-14 09:28发布

问题:

We are having some issues with push notifications being sent from an IBM MobileFirst 7.0 server to Apple's APNS server. Specifically, the push notifications seem to be sent successfully from the MobileFirst adapter, but never arrive at the target device. How can we trace this interaction?

回答1:

You can use the trace string com.ibm.pushworks.server.notification.*:com.ibm.pushworks.server.notification.apns.*=all to trace the inner mechanics of the push notification mechanism on the MobileFirst server. This should be specified either as a WebSphere Liberty trace string or a WebSphere ND trace specification, depending on which server type you are using.