APNS Device logs to figure out notification received or not (Development mode)

Hello Team,


We are facing issue with APNS notification is successfully received or not. When ever we see the console of particular device we are getting logs as below


default12:59:36.024667+0530apsd<private>: Outstanding data received: <private> (length 255) onInterface: NonCellular. Connected on 2 interfaces.
default12:59:36.025124+0530apsd<private>: Stream processing: complete yes, invalid no, length parsed 251, parameters <private>
default12:59:36.030354+0530apsdcopyTokenForDomain sandbox.push.apple.com (null)
default12:59:36.086488+0530apsd<private> incoming message is for proxy ***** that is *not* connected. baseToken <private> destToken <private> publicTokens <private>
default12:59:36.086677+0530apsd<private> timestampForTopic? <private> token <private>
default12:59:36.086906+0530apsdisAppSpecificTokenValid sandbox.push.apple.com <private>
default12:59:36.175254+0530apsdisAppSpecificTokenValid? <private> found cached token YES
default12:59:36.175328+0530apsd<private> hasPayload? <private> forTopic <private> tokens <private>
default12:59:36.264436+0530apsdcopyAppSpecificTokensWithDomain - sandbox.push.apple.com for topic <private> account <private>
default12:59:36.264631+0530apsd<private> receivedPushWithTopic <private> token <private> payload <private> timestamp Tue Dec 31 12:59:35 2019
default12:59:36.264899+0530apsd<private>: Received message for enabled topic '<private>' onInterface: NonCellular with payload '<private>' with priority 10 for device token: NO
default12:59:36.269627+0530apsd<private>: Sending acknowledgement message with response 0 and messageId <private> (4048317628)
default12:59:36.270468+0530apsd<private> _notifyForIncomingMessage <private> with guid <private>
default12:59:36.270761+0530apsd<private>: Calling into AWD for PushReceived
default12:59:36.272017+0530apsdsubmitted metric <private>
default12:59:36.272105+0530apsd<private>: AWD for PushReceived finished
default12:59:36.272154+0530apsd<private>: Stream processing: complete yes, invalid no, length parsed 4, parameters <private>
default12:59:36.272283+0530apsd<private>: Received keep-alive response 1 on interface NonCellular: <private>
default12:59:36.273421+0530apsdCreated metric container: 0x130004 succeeded? YES
default12:59:36.273664+0530apsdSubmitted metric: 0x130004 succeeded? YES
default12:59:36.274921+0530apsd<private>: Stream processing: complete no, invalid no, length parsed 0, parameters (null)
default12:59:36.276175+0530apsdDispatching high priority message: <xpc object>
default12:59:36.278023+0530SpringBoard<private> Delivering message from apsd: <private> 4048317628 <private>
default12:59:36.278726+0530SpringBoard<private> responding with an ack for message with guid <private>
default12:59:36.278795+0530SpringBoard<private> making delegate (<private>) calls to deliver message 4048317628 <private> for topic <private>
default12:59:36.278853+0530SpringBoard<private> calling <private> connection:didReceiveIncomingMessage:
default12:59:36.279143+0530SpringBoard<private> returned from <private> connection:didReceiveIncomingMessage:
default12:59:36.281001+0530apsd<private> informed that <private> acknowledges incoming message with guid <private>
default12:59:36.281107+0530apsd<private> _schedulePendingWorkUpdate
default12:59:38.285393+0530apsdcopyTokenForDomain sandbox.push.apple.com (null)
default12:59:38.335804+0530apsd<private> updating AppLaunchStats with pending work <private>
default12:59:41.277704+0530apsd<private>: Received delegate call: shouldUseDualMode is set to YES
default12:59:41.277854+0530apsd<private> resetting consecutive failures because we have at least one connection
default12:59:41.279700+0530apsdAPSCourier <private> adjusting connection. Connected on 2 interfaces. Current link quality: <private>
default12:59:41.280468+0530apsd<private> calling _connectStream with interface preference None
default12:59:41.280698+0530apsd<private> _connectStream has None preference and dual channel is enabled.
default12:59:41.303091+0530apsd<private>: Sending keep alive message via conn: <private> onInterface: NonCellular. Connected on 2 interfaces. Current link quality: <private>
default12:59:41.565911+0530apsd<private>: Outstanding data received: <private> (length 2) onInterface: NonCellular. Connected on 2 interfaces.
default12:59:41.566111+0530apsd<private>: Stream processing: complete yes, invalid no, length parsed 2, parameters <private>
default12:59:41.566267+0530apsd<private>: Received successful keep-alive ack on interface NonCellular: <private>
default12:59:41.567236+0530apsd<private>: Stream processing: complete no, invalid no, length parsed 0, parameters (null)
default12:59:46.574704+0530apsd<private>: Received delegate call: shouldUseDualMode is set to YES
default12:59:46.575004+0530apsd<private> resetting consecutive failures because we have at least one connection
default12:59:46.580401+0530apsdAPSCourier <private> adjusting connection. Connected on 2 interfaces. Current link quality: <private>
default12:59:46.581777+0530apsd<private> calling _connectStream with interface preference None
default12:59:46.581993+0530apsd<private> _connectStream has None preference and dual channel is enabled.



We need to confirm that, this notifcation belongs to particualr application.

Why we are getting <private> for every log. Can we need to set any flag at our device while developing mode to get the app details at console log?


Please help us to resolve the issue.


Thank you.

Hello Team ,


Any update for this, is there any way to get logs of APNS notification in development mode.


Thanks

>We are facing issue with APNS notification is successfully received or not


See TN2265 Troubleshooting Push Notifications / Push Notification Throughput and Error Checking


My interpretation of the logs you show is that the notification is successfully received.

APNS Device logs to figure out notification received or not (Development mode)
 
 
Q