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

DTXLogLevel (iOS)

kalexandre-pres
Newcomer

Hello,

I just wanted to confirm setting DTXLogLevel to OFF in the app info.plist will only turn off logging in XCode's console or it will actually completely disable also requests being sent by the Dynatrace API to the server (i.e. user actions not shown on the dashboard)?

Our current configuration is as follows:

DTXApplicationID - Test application

DTXAgentStartupPath - https://m.xxxxxxx.fr

DTXLogLevel - OFF

DTXAllowAnyCert - YES

The rest of the keys are not currently modified (default)

Thanks

3 REPLIES 3

david_n
Inactive

Hello Kevin,

Setting your logging level to off should not affect the recording of user actions from your application. This is just related to the information recorded in the console:

"You can enable logging for iOS in Info.plist or Dynatrace.plist. When running the app, you'll find the log in Xcode within the console of the Debug area:"

https://help.dynatrace.com/get-started/setup-tips/where-can-i-find-oneagent-files-and-logs/

Thanks,

David Nicholls

harp
Dynatrace Pro
Dynatrace Pro


Additionally is there a reason why `DTXAllowAnyCert` is enabled? This disables some validation checks on certificates to allow the agent to connect to a server that uses a self-sigend certificate. Because of weakened security this is NOT recommended to be used in production environments!

kalexandre-pres
Newcomer

Thank you all for your support! @Patrick H. yes we are aware of this and we plan on getting this fixed asap.

Again, thanks for your quick replies.