<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: #define kShouldPrintReachabilityFlags 1 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/define-kShouldPrintReachabilityFlags-1/m-p/298385#M18121</link>
    <description>&lt;P&gt;Thanks for writing this up! I can't make any promises, but I'll send this along as a feature request to the team.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Sep 2018 12:04:48 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-09-21T12:04:48Z</dc:date>
    <item>
      <title>#define kShouldPrintReachabilityFlags 1</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/define-kShouldPrintReachabilityFlags-1/m-p/298299#M18118</link>
      <description>&lt;P&gt;ObjectiveDropboxOfficial (3.9.1) Cocoapod's DBSDKReachability.m has this line of code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#define kShouldPrintReachabilityFlags 1&lt;/PRE&gt;&lt;P&gt;Unfortunately, now when reachability is used, reachability status&amp;nbsp;is dumped to the console:&lt;/P&gt;&lt;PRE&gt;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&lt;/PRE&gt;&lt;P&gt;In our case, not just one, but dozens and dozens -- polluting it our logs -- and hiding other valuble logging information.&lt;/P&gt;&lt;P&gt;We request that you give us a way to turn off the logging by testing if the define is set before setting it:&lt;/P&gt;&lt;PRE&gt;#ifndef kShouldPrintReachabilityFlags
#define kShouldPrintReachabilityFlags 1
#endif

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:10:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/define-kShouldPrintReachabilityFlags-1/m-p/298299#M18118</guid>
      <dc:creator>DylanAshe</dc:creator>
      <dc:date>2019-05-29T09:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: #define kShouldPrintReachabilityFlags 1</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/define-kShouldPrintReachabilityFlags-1/m-p/298385#M18121</link>
      <description>&lt;P&gt;Thanks for writing this up! I can't make any promises, but I'll send this along as a feature request to the team.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 12:04:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/define-kShouldPrintReachabilityFlags-1/m-p/298385#M18121</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-09-21T12:04:48Z</dc:date>
    </item>
  </channel>
</rss>

