cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

#define kShouldPrintReachabilityFlags 1

#define kShouldPrintReachabilityFlags 1

DylanAshe
New member | Level 2

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 1

Greg-DB
Dropbox Staff

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?