How can I get full information from Console in macOS Sierra?

When I run Console, a lot of messages have the text <private> instead of details, even though my account is an Admin user account. Here is an example for an application I'm writing and trying to debug:

default 17:12:50.191150 -0700   CommCenter  #I CSIAppInfo.ApplicationActivationObserver: handleLSNotitifcation_sync: Application launched: <private>
default 17:12:50.311671 -0700   CommCenter  #I CSIAppInfo.ApplicationActivationObserver: handleLSNotitifcation_sync: Application exited: <private>

How can I make this stop happening, and get full information about processes?


Solution 1:

sudo log config --mode "private_data:on"    

Show private messages in Console.app for Sierra