Skip to content

Instantly share code, notes, and snippets.

@guttentag
Last active May 25, 2021 09:31
Show Gist options
  • Select an option

  • Save guttentag/62a112a2cda540291af33dcda02a521d to your computer and use it in GitHub Desktop.

Select an option

Save guttentag/62a112a2cda540291af33dcda02a521d to your computer and use it in GitHub Desktop.

Revisions

  1. guttentag revised this gist May 25, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion log_config.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    /Library/Preferences/Logging/Subsystems/<com.your.app>.plist

    sudo log config --mode "level:debug,persist:debug" --subsystem com.myapp.bundle
    sudo log config --mode "level:debug,persist:debug" --subsystem com.myapp.subsystem
  2. guttentag created this gist May 25, 2021.
    3 changes: 3 additions & 0 deletions log_config.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    /Library/Preferences/Logging/Subsystems/<com.your.app>.plist

    sudo log config --mode "level:debug,persist:debug" --subsystem com.myapp.bundle