Turn off excessive logging in Xcode 8

Xcode 8 shows lots of logging message in the console window when you run the app. If you have any print statement in your app module then it can easily get lost in these warning messages.

One of the solution to avoid this excessive logging is to add a property under enviromental variable section. Navigate to Product menu and select Scheme from the menu list then Edit Scheme (Product -> Scheme -> Edit Scheme )

In the Scheme screen, select Run option. Navigate to Environment Variables section and add new variable OS_ACTIVITY_MODE with value as disable

This shoud prevent these warning/logging messages in Console window. This property has to be configured for each project in Xcode, what would be nice to have is a single configuration in Xcode for all projects 🙂


In Category: logging, Xcode 8

Ravi Shankar

A polyglot software developer and now exploring Swift and iOS development. If you would like to learn from me then check out services page.

Show 2 Comments
  • Sandesh sardar January 3, 2017, 3:52 pm


  • Bill January 5, 2017, 1:37 pm

    Thank you! I’ve not found any use for those comments but they sure clutter and confuse the debugging process.

Leave a Comment