Troubleshooting APNS Client-side

Andrina
Contributor
Contributor

Hoping this may help someone else - I was troubleshooting some client-side APNS issues this morning. Doing some cursory googling you'll find articles referencing to enabling logging with com.apple.applepushserviced (Like the dated reference on developer.apple.com) - on 10.8 at least this has now changed to com.apple.apsd. So to enable logging on the client end you're looking at this:

$ sudo defaults write /Library/Preferences/com.apple.apsd APSWriteLogs -bool TRUE
$ sudo defaults write /Library/Preferences/com.apple.apsd APSLogLevel -int 7
$ sudo killall apsd

You'll see a new log in /Library/Logs/apsd.log to see what's going on client-side.

1 REPLY 1

justinrummel
Contributor III

Awesome! Thanks!