Reputation: 1751
I get several debug messages from Firebase - quite chatty:
2016-10-20 22:18:33.576 Sitch[1190] <Debug> [Firebase/Core][I-COR000019] Clearcut post completed
I don't see any way to quiet them. FIRAnalytics only shows INFO and more severe but Firebase/Core seems to have debug enabled by default?
This is the cocoapods build - from podfile.lock:
FirebaseCore (3.4.3):
GoogleInterchangeUtilities (~> 1.2)
GoogleUtilities (~> 1.2)
Upvotes: 24
Views: 5440
Reputation: 596
You can disable the debug logging with the flag -FIRDebugDisabled.
Below are the steps to set this flag.
Upvotes: 12
Reputation: 3583
What worked for me:
FirebaseConfiguration.shared.setLoggerLevel(.min)
(probably not needed)To re-enable, see Firebase Docs
Upvotes: 5
Reputation: 63
You can disable the debug message for Firebase and other with the flag OS_ACTIVITY_MODE
with a value disable
You have to add it on your scheme run mode :
1 - Select your scheme on Xcode toolbar
2 - Edit scheme
3 - Add this key and value on Environment Variables
section
4 - close your scheme and launch your app
Upvotes: -1