Xcode 8.2 Build 8C30a Logs Networking Information

Originator:brian.michel
Number:rdar://29502388 Date Originated:04-Dec-2016 08:42 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 8.2 8C30a
Classification:UI/Usability Reproducible:Always
 
Summary:
When running a project built through Xcode 8.2 build 8C30a, there are numerous log statements describing networking information, and many other things dumped into the console even though the project has not been opted into such logging.

Steps to Reproduce:
1. Build any iOS project 
2. Select any iOS 10.0-based simulator (this does not reproduce on iOS 10.1 or 10.2-based simulators) and run the built project 

Expected Results:
Only log statements created within the built project, or it’s related libraries are emitted to the console

Actual Results:
System level log statements such as those listed below are emitted to the console in addition to log statements created within the project. Examples of errantly emitted log statements as follows:

[] nw_connection_endpoint_report [16.1 54.71.130.170:443 ready socket-flow (satisfied)] reported event flow:finish_connect
[] nw_connection_endpoint_report [16 api.segment.io:443 ready resolver (satisfied)] reported event flow:finish_connect
[] __tcp_connection_start_block_invoke 16 sending event TCP_CONNECTION_EVENT_TLS_HANDSHAKE_COMPLETE in response to state ready and error (null)
[] tcp_connection_event_notify 16 event: TCP_CONNECTION_EVENT_TLS_HANDSHAKE_COMPLETE, reason: nw_connection event, should deliver: true
[] tcp_connection_get_statistics DNS: 194ms/196ms since start, TCP: 282ms/483ms since start, TLS: 473ms/954ms since start
[] tcp_connection_cancel 12
[] nw_socket_handle_socket_event Event mask: 0x4
[] tcp_connection_cancel 13
[] nw_socket_handle_socket_event Socket received WRITE_CLOSE event
[] tcp_connection_cancel 11

Regression:
This logging does not occur when using the iOS 10.1 or 10.2 simulators. Additionally, the networking logging does not happen when using an iOS 10.0 simulator on the production version of Xcode 8.1 8T61a, but UIKit logging does.

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!