Xcode 8 - System log noise in Console

In Xcode 8, there is a large amount of noise in the Console, mostly related to gestures, touches and user defaults but also things prefixed with nw_ (which I assume is networking). Switching from All Output to Target Output doesn't hide it. I can use the Filter field to search for a specific query, but what I would prefer is an Xcode 7 experience where only my app's NSLog output is shown.


I am using Xcode 8 beta 2 (8S162m).

Replies

I had the same with b1. The commons one I've seen are:


subsystem/system (debuging lines)

HIDEvents (Large, multi-line dumps)

Touch

Gesture

GestureEnviroment

Common

UserDefaults (multiple back-to-back dumps)

CGContext


It really makes it hard to debug an app, we all can agree on that.


Edit: Worst part is, you don't even have to be customizing any of these in your app. They do it from day 1 on a "Hello, world!" build.

I agree - it's most annoying. Maybe we're missing some option to turn it off.

Any luck fixing the Console noise? I would like to clean up some of it, for example text to speech creates hundreds of unnecessary info in the console. It is hard to see my own messages. For some reason the Watch simulator does not create as much noise as the iPhone sim.


Greg

https://forums.developer.apple.com/thread/50138


Try this:

1- From Xcode menu open: Product > Scheme > Edit Scheme

2- On your Environment Variables set

OS_ACTIVITY_MODE
=
disable