View Single Post
Old 09-07-2017, 05:43 AM   #47
benwen
Junior Member
 
Join Date: Dec 2014
Location: San Francisco
Posts: 1
Default

Quote:
Originally Posted by duncanm View Post
As a temporary fix you can enter the following in your terminal:

Code:
sudo log config --process=[PID] --mode "level:off"
where [PID] is the ID of the process you see in the console.

You have to re-do it every time you re-start your mac which is a pain, but at least it saves all those writes to your disk
Thank you duncamn!

Here's a quick and dirty shell script to automate the finding of the PID
Code:
#!/bin/sh
pid=`ps -ax | awk '/SkyLight.framework/ && !/awk/ {print $1}'`
echo "Skylight.framework with OpenGL logorrhea PID found. Suppressing log for PID $pid"
sudo log config --process=$pid --mode "level:off"
Put that in a file 'quite-dlink' in your $PATH, chmod 0755 it and execute it in Terminal at startup.
benwen is offline   Reply With Quote