I want to stop printing logs on XCode console. I am using IBM MobileFirst platform (IBMMobileFirstPlatformFoundation) framework inside my ios app. Below are the problems i am facing, 1) I am able to see the request and response on console. (Want to stop printing it) 2) How can I stop IBM MobileFirst platform from printing logs on console? please help me out on the same.
Asked
Active
Viewed 176 times
0
-
2Possible duplicate of [IBM MFP Logs disabling on ios simulator](https://stackoverflow.com/questions/43494278/ibm-mfp-logs-disabling-on-ios-simulator) – Kamran Apr 24 '18 at 11:56
2 Answers
1
This has been fixed with APAR PI79173
Now, the printing of request and response appears only within XCode console. This is because your application is itself running in Debug mode.
This information is no longer logged when running release mode on a real device, if security is your concern.

Vivin K
- 2,681
- 1
- 11
- 14
-
Security is big concern for me, I tried with release mode still logs getting print :( – chetan mekha Apr 25 '18 at 06:35
-
This has been fixed in APAR : http://www-01.ibm.com/support/docview.wss?uid=swg1PI79173 What iFix level are you on? – Vivin K Apr 26 '18 at 08:53
-
-
0
By default, log capture is enabled. Log capture saves logs to the client, and can be enabled or disabled programmatically. Logs are sent to the server with an explicit send call, or with auto log.
To disable log capturing:
In Swift
OCLogger.setCapture(false);

Gaurab Kumar
- 2,144
- 2
- 17
- 29