Appboy / appboy-ios-sdk

Public repo for the Braze iOS SDK
https://www.braze.com
Other
165 stars 142 forks source link

Get Rid of APPBoy Logs in XCOde #228

Closed deepak4u2006 closed 4 years ago

deepak4u2006 commented 4 years ago

2020-04-30 XX:XX:XX.XXXXXX+0530 MYAppName[XXXX:XXXXX] [APPBOY][DEBUG] +[ABKPushSettings storePushAuthStatus:withFlush:] Stored push auth status was already authorized. Not updating persistent storage.

In My Xcode debug area is filled with these kind of logs, And the useful logs are very difficult to locate. Can you pls guide to avoid this.

Sorry for posting it here as issue but I didn't got any help, anywhere else.

Thanks in Advance!!

Bucimis commented 4 years ago

Hi @deepak4u2006 To disable logging, add a dictionary named Appboy to your Info.plist file. Inside the Appboy Dictionary, add the LogLevel String subentry and set the value to 8.

Example Info.plist contents:

<key>Appboy</key>
<dict>
    <key>LogLevel</key>
    <string>8</string>
</dict>
deepak4u2006 commented 4 years ago

Hi @deepak4u2006 To disable logging, add a dictionary named Appboy to your Info.plist file. Inside the Appboy Dictionary, add the LogLevel String subentry and set the value to 8.

Example Info.plist contents:

<key>Appboy</key>
<dict>
  <key>LogLevel</key>
  <string>8</string>
</dict>

Thanks!!, Working . Closing the issue.