We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

DylanAshe's avatar
DylanAshe
New member | Level 2
7 years ago

#define kShouldPrintReachabilityFlags 1

ObjectiveDropboxOfficial (3.9.1) Cocoapod's DBSDKReachability.m has this line of code:

 

#define kShouldPrintReachabilityFlags 1

Unfortunately, now when reachability is used, reachability status is dumped to the console:

2018-09-20 13:50:20.276079-0700 XXXX[46488:3471796] DBSDKReachability Flag Status: -R ------- networkStatusForFlags
2018-09-20 13:50:20.279623-0700 XXXX[46488:3471796] DBSDKReachability Flag Status: -R ------- networkStatusForFlags
2018-09-20 13:50:20.283761-0700 XXXX[46488:3471796] DBSDKReachability Flag Status: -R ------- networkStatusForFlags

In our case, not just one, but dozens and dozens -- polluting it our logs -- and hiding other valuble logging information.

We request that you give us a way to turn off the logging by testing if the define is set before setting it:

#ifndef kShouldPrintReachabilityFlags
#define kShouldPrintReachabilityFlags 1
#endif

 

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    Thanks for writing this up! I can't make any promises, but I'll send this along as a feature request to the team. 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 9 hours ago
410 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!